I created a site where I need to display the images from my facebook album to my personal website but when I call the GetPhotoAlbum().Count
method then it returns a '0' count.
Any ideas why it says a zero count as I have 100's of public photos in my facebbok account?
Here is the code:
FriendList1.Friends = _fbService.GetFriends();
works fine and displays a list of all my friends list.
Response.Write(_fbService.GetPhotoAlbums().Count);
returns 0 and no photo/album开发者_开发技巧 is displayed
You need to get an access token with "user_photos" extended permission. You can test this with the new Facebook graph explorer.
精彩评论