Questions tagged [phpflickr]

phpFlickr is a PHP class designed to wrap and ease the usage of the API of the photo sharing site Flickr.

phpFlickr is a PHP class designed to wrap and ease the usage of the API of the photo sharing site Flickr.

38 questions
1
vote
1 answer

can you store flickr images from the php api to your own mysql table

can you store flickr images from the php api to your own mysql table, or is the server only temporary and farm id etc, will they change over time? I am trying to make a simple pinterest type of script which I will store the image url to a mysql…
morty
  • 119
  • 1
  • 1
  • 6
1
vote
0 answers

Message: Invalid argument supplied for foreach() for Flickr

I recently switched our site to a different server for ExpressionEngine and all of a sudden I'm getting errors when trying to access a drop down list of Flickr albums. This is what the error says: A PHP Error was encountered Severity:…
user3076
  • 11
  • 3
1
vote
1 answer

Add comments to photos in flickr using phpflickr

I got to know how to retrieve the comments on photo in my flickr account using phpflickr. But i am unable to add comment through the same to the photo. I tried: $phpflickr->photos_comments_addComment($photo_id,"TestCK"); But i don't see my comment…
Chetana Kestikar
  • 570
  • 6
  • 23
1
vote
0 answers

phpFlickr proxy not working call to member function error

I have downloaded and setup phpFlickr library but I need to use it from behind a proxy, so I have added the line to the example file and it throws an error. As its all pretty much out of the box, im flumaxed I also dont get the call to member…
Paul M
  • 3,937
  • 9
  • 45
  • 53
1
vote
1 answer

flickr api search does not work for a subset of pictures

I'm building a website that takes data from flickr and displays it in a custom front-end. The search using flickr.photos.search does not work for some queries, but it does for another: It does not work for "blossom" try…
Amadeusz Wieczorek
  • 3,139
  • 2
  • 28
  • 32
0
votes
1 answer

phpFlickr cache not updating when photo is deleted

I'm using phpFlickr on my website and the uploading/deletion works fine, but when I delete a photo and/or delete a photo from a photoset the cache (using the file system option) lags a few minutes behind and still shows the then-deleted image. If I…
0
votes
1 answer

phpflickr - how to get a photo owners username by owner id?

photos_search(array( 'text' => 'stuff', )); foreach ($tags['photo'] as $photo) { // want to get get the user's actual username from the the "owner" $ownerId = $photo['owner']; //…
tester
  • 22,441
  • 25
  • 88
  • 128
0
votes
1 answer

phpFlickr - multiple albums on one page not working - single album works

I'm trying to implement the phpFlickr-wrapper (https://github.com/dan-coulter/phpflickr) in my MODX-project. I tried a simple code i found here on stackoverflow and put it in a snippet called "Flickr": //include the core…
EM Em
  • 270
  • 1
  • 3
  • 17
0
votes
1 answer

Is there a way to get the display tags back (with spaces), rather than the coded versions?

I'm using phpFlickr to make this query: $photos = $f->photos_search(array( 'tags'=>$tag, 'sort'=>'date-taken-desc', 'per_page'=>100, 'user_id'=>'me', 'privacy_filter'=>5, 'extras'=>'date_taken,tags,url_sq,description' )); It's working…
sprugman
  • 19,351
  • 35
  • 110
  • 163
0
votes
1 answer

API Flickr: How to get only photos that don't have albums?

I need to show all the photos for importation into my web application. First I get albums with: $albums = $flickr->photosets_getList($userId); Then when selected any album, I get the photos with: $photos =…
alditis
  • 4,633
  • 3
  • 49
  • 76
0
votes
2 answers

Including the phpFlickr library in Kohana

I'm beginning a website using the Kohana Framework, and I couldn't find how to include external libraries "the proper way". I want to use the phpFlickr library to allow my website to interact with Flickr. If there was a better way to include the…
3rgo
  • 3,115
  • 7
  • 31
  • 44
0
votes
1 answer

How do I directly upload a file stream to Flickr using a CURL POST?

I'm writing a web app that at one point allows a user to upload a photo to a flickr account (mine). I want to do this without saving the intermediate image on the server my web app is on. What I've got so far is a page which implements phpFlickr…
roryok
  • 9,325
  • 17
  • 71
  • 138
0
votes
1 answer

Flickr API Not Returning Actual Photos

Hi i'm on a project and want to use Flickr for my image galery, i'm using the photosets.* method but whenever i make a request i don't get images, i only get info. Json Result: { "photoset": { "id": "77846574839405047", …
Daniel Barde
  • 2,603
  • 5
  • 31
  • 40
0
votes
1 answer

Infinite Scrolling Paging

Can anyone tell how to implement Infinite Scrolling Paging for $flickr->call('flickr.photos.search'); I've the user logged in and the first 10 set of photos. Now how to implement scrolling paging for remaining photos. I am using * Flickr API Kit…
0
votes
1 answer

SSL is required in photos_search flickr api, how to solve it?

I am using phpFlickr api to serach photos in flickr. I am using following code, but it is not working. require_once($lib_dir."phpFlickr.php"); $flickr = new phpFlickr($cfg['flickr_api_key'],$cfg['flickr_secret']); $photos =…
DS9
  • 2,995
  • 4
  • 52
  • 102