开发者

How can I show facebook album images on my website using c#?

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜