samwilson / phpflickr

A PHP wrapper for the Flickr API, including OAuth.
https://packagist.org/packages/samwilson/phpflickr
GNU General Public License v2.0
39 stars 15 forks source link

Finding photoIds in users with more than 500 sets #26

Closed benjaminchodroff closed 4 years ago

benjaminchodroff commented 4 years ago

Flickr users with more than 500 sets will find that photos located in sets beyond the first 500 sets will show up as "no sets" matching. This patch fixes that by scanning the remaining sets if there are multiple pages present. Sadly, flickr provides no way to ordering the sets across pages, or only returning sets that contain the matched photoID. This is the best solution I could find (quickly).

benjaminchodroff commented 4 years ago

Thanks for the suggestions, and thanks for the great library. I greatly appreciate your work.

samwilson commented 4 years ago

Thanks for helping with it!

I'll try to fix up some of the other bits and get a new version out this weekend.

gegere commented 4 years ago

Looking forward to testing, once you say go!