This project has moved and is read-only. For the latest updates, please go here.

PhotosetsGetList not returning all sets

Topics: Developer Forum
Apr 28, 2010 at 4:08 PM

Hi all,

I'm having a problem with the PhotosetsGetList function - it's not returning all my photosets. This is the code I am using and it works fine;

                PhotosetCollection foo = flickr.PhotosetsGetList(userId);
                edList.Text += "Set Count: " + foo.Count + "\r\n";

                foreach (Photoset bar in foo)
                    edList.Text += "Photoset: " + bar.Title + " [" + bar.PhotosetId + "]" + "\r\n";

Running this, returns a set count of 10, and then 10 set names & IDs - however I have 18 sets in my flickr account. There doesn't seem to be a pattern for which ones are missing, I checked all the permissions and such and all is OK. If I use the PhotosetsGetInfo function on one of the sets that is not listed, the information shows up fine. So the library can see those photosets, but the GetList function is only returning 10.

Anyone have any ideas?

Apr 28, 2010 at 4:31 PM

Its a known issue, and fixed in the latest source. I really should wrap it up in a release as its fairly major don't you think...

Apr 28, 2010 at 4:32 PM

Damn, yep it's pretty big  :) I've been scratching my head about it for the last hour, trying various things.

Thanks for letting me know, looking forward to the update!