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

PhotosetsGetList is missing the Url property

Topics: Developer Forum
Mar 14, 2007 at 11:13 PM
Edited Mar 15, 2007 at 9:42 AM
Has anyone else noticed that the Url property is always missing from the PhotosetsGetList.PhotosetCollection? If you explore the API on Flickr it doesn't seem to return it either, but it is a property in the PhotoCollection. Is this field a historical left over?

It would be extremely useful to have this field because at the moment I'm having to build the Uri for each photoset manually using something along the lines of:

public string PhotosetUrl(string photosetId)
    Flickr flickr = new Flickr();
    Uri uri = flickr.UrlsGetUserPhotos("userid");
    return uri.AbsoluteUri + "sets/" + photosetId + "/";

Is there a way to get the Photoset Url in that feed? Am I missing something?


Mar 15, 2007 at 10:46 AM
This can be done if you specify a user id, but the user id isn't actually returned as part of the response so makes things a little bit harder.

You cdon't really need the second method call, as the url can just be used as the following:<<userid>>/sets/<<photosetsetid>>