PhotosetsGetList not returning all sets

Topics: Developer Forum
Apr 28, 2010 at 3: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?

Coordinator
Apr 28, 2010 at 3: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 3: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!