getting user profile picture using facebook c# sdk from codeplex

前端 未结 5 1194
旧时难觅i
旧时难觅i 2021-01-04 23:25

I am using facebook C# sdk from codeplex and trying to download user\'s profile picture.

I know I can get this from:

http://graph.facebook.com/UID/picture?t

5条回答
  •  执念已碎
    2021-01-04 23:55

    You can get the picture URL through this : graph.facebook.com/username?fields=picture

    The facebook C# sdk from codeplex (v.5.0.3) throws an exception when trying to do something like this: fb.GetAsync("me/picture", get_data_callback); I guess GetAsync doesn't support to retrieve the (binary) image data.

提交回复
热议问题