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
3
votes
2 answers

How do I get phpFlickr to return the original image?

This code works perfectly: $f = new phpFlickr(FLICKR_API_KEY, FLICKR_API_SECRET); $f->setToken(FLICKR_AUTH_TOKEN); // Next line is just WordPress providing the photoset ID. $mySetID = get_post_meta($post->ID, 'Flickr set ID', true); $mySet =…
Su'
  • 2,128
  • 20
  • 22
3
votes
2 answers

phpFlickr and getting images from Flickr

I'm trying to pull in images from Flickr using the phpFlickr library but the docs seem to be quite vague and the results aren't as good as i would like, i wonder if anyone can shed some light on my code (maybe i'm using the wrong syntax?). It works…
Shadi Almosri
  • 11,678
  • 16
  • 58
  • 80
2
votes
1 answer

Display collections on my website using Flickr API

I have been looking for a long time where I could find a php script using phpflickr class (or not) in order to display collections (titles, images or both) on my website. I can't find any. If anyone has idea... Thanks in advance. Regards, Pico
Pico
  • 303
  • 3
  • 9
2
votes
1 answer

Flickr API returning duplicate images

I'm trying to get images from flickr using the Flickr API and I'm having trouble figuring out how to get only unique images. I've already reviewed the arguments for the specific method that I'm using and here's what I came up with:
user225269
  • 10,743
  • 69
  • 174
  • 251
2
votes
0 answers

flic.kr/s/ short url for sets base58 issue

I am having trouble with flickr short urls, specifically those generated for sets. Photos I can see that for individual photos, if I select share and get the short url, they I would get flic.kr/p/{base58_encode(photoid)}. I can easily decode and…
user2455157
  • 137
  • 1
  • 2
  • 11
1
vote
0 answers

PHP: Download images from Flickr to local server (via CURL?)

I’ve a Wordpress site where I uses my Flickr feed to get my latest images. By using a script, I create a new post everytime I’ve a new image on Flickr but, the image thumbnail source is from Flickr and when I press the thumbnail I’m redirected to…
Emil Devantie Brockdorff
  • 4,724
  • 12
  • 59
  • 76
1
vote
2 answers

phpflickr - photos_getInfo very slow

I'm using phpflickr to retrieve images from Flickr. For some reason photosets_getPhotos doesn't contain the image descriptions and photos_getInfo has to be used instead. However, when I do it slows everything right down. Here is a function I've…
iltdev
  • 1,789
  • 9
  • 27
  • 51
1
vote
1 answer

PHPFlickr script...could this be cleaner/leaner?

OK, here's my dilemma: I've read all over about how many guys want to be able to display a set of images from Flickr using PHPFlickr, but lament on how the API for PhotoSets does not put individual photo descriptions. Some have tried to set up…
Alex M
  • 11
  • 3
1
vote
0 answers

Flickr: How to use flickr.photos.geo.getLocation in python or any language?

I used the following code to get Latitude and Longitude in python in pycharm environment as import flickr api_key = u'xxxxx' secret_api_key = u'xxxxxx' photoID=8636126004 for photo in…
user1999109
  • 421
  • 7
  • 19
1
vote
1 answer

Using Flickr to Enable Images on a Site

Has anyone had success using Flickr to embed images that users can upload to my site, but that are hosted on Flickr? Is something like this possible? Thanks, Alex
Genadinik
  • 18,153
  • 63
  • 185
  • 284
1
vote
1 answer

php library for flickr API

I am banging my head trying to use Flickr API... My goal is to be able to upload images and create albums in my Flickr account from my website... I tried the phpFlickr library but apparently it needs updates for getting authenticated tokens...It…
Ahmad Khaled
  • 387
  • 3
  • 17
1
vote
2 answers

flickr equivalent to source.unsplash.com

My problem is that I need to get a random image from a flickr search (tag, color, licence). I spent a day trying to get how the flickr api is working but with my basic skills with html, css and js I'm lost with this thing. For my last project I…
youpielove
  • 41
  • 6
1
vote
0 answers

phpFlickr Caching to Filesystem or MySQL?

Are you supposed to be able to see distinct filenames via phpFlickr's caching to filesystem or MySQL? I've set the parameters as listed in the readme, but caching does not seem to generate any files or mysql table rows. I've tried both the…
ina
  • 19,167
  • 39
  • 122
  • 201
1
vote
1 answer

Flickr API: How to (successfully) get push notification for new photos(private) with specific tags?

I am using this php library for flickr. I have added following flickr push_subscription function: function push_subscribe ($topic = NULL, $callback = NULL, $verify = NULL, $verify_token = NULL, $lease_seconds = NULL, $tags = NULL) { return…
Khurshid Alam
  • 209
  • 1
  • 3
  • 10
1
vote
0 answers

Flickr Upload Video PHP

I am trying to upload a video to my Flickr account using PHP. The PHP script is running on my localhost server. I have downloaded a .php library to assist me https://github.com/dan-coulter/phpflickr I have created a Flickr account and created an…
nomaam
  • 1,213
  • 2
  • 22
  • 37
1
2 3