Get Users Public Galleries & Then List The Photos

Topics: Developer Forum, User Forum
Oct 12, 2010 at 4: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?

Coordinator
Oct 12, 2010 at 9:06 PM

flickr.GalleriesGetPhotos?