Viewing Friends Photo Albums

Jul 3, 2008 at 8:29 PM

I'm new to working with the Facebook API.  I've already created a simple application to return friends status updates.  I want to make one that will return friends photo albums and allow me to access some of the pictures.  I've tried Facebook.Entity.Album and it will return my albums.  Is it possible to append a user ID as a parameter or am I completely lost?  Any help is welcome!


Jul 3, 2008 at 9:57 PM
You need to write something like this:


Collection<Facebook.Entity.Album> albums=new Collection<Album>();






Collection<Facebook.Entity.Photo> photos1 = new Collection<Photo>();


photos1 =




string Photo1Url= photos1[0].PictureSmallUrl.ToString();


Jul 3, 2008 at 10:16 PM
I just found another way to do it before you posted.  Yours is much cleaner!  Thanks!
Feb 18, 2010 at 8:14 PM

When I try to retrieve my photos using the PhotoAlbum feature from the toolbox, its not working. The photos are not showing up.

This is my code snippet

photoAlbum1.albums = facebookservice1.Photos.GetAlbums(user.uid.Value);

Thanks in advance,