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

Get Users Public Galleries & Then List The Photos

Topics: Developer Forum, User Forum
Oct 12, 2010 at 5:10 PM

First time using the library today and a bit stuck....

I am trying to get a users public galleries by screen name (I can't use authentication), list them and then list out all the photos in each gallery - But I am having problems.  I think this is correct to get the users galleries???

 FlickrNet.Flickr flickr =  new FlickrNet.Flickr(config.ApiKey, config.SecretKey);
            string screenName = "Sam Judson";
            FoundUser user = flickr.PeopleFindByUserName(screenName);
            string userId = user.UserId;

            // Get the users galleries
            GalleryCollection galleries = flickr.GalleriesGetList(userId);

            foreach (var Gallery in galleries)
               //LIST GALLERIES??

But now once I have these Galleries, how would I return the photos from each gallery?

Oct 12, 2010 at 10:06 PM