Calling FQL Method to query facebook
I'm using the Facebook C# SDK V4.2.1 to creat a simple application in silverlight开发者_StackOverflow 4, i wanto to get the profile picture. for what i know is that the best way is to cal the FQL method, but i'm new to this and i don´t know how to call FQL method.
i've searched the net and not found anything If you can help me, I would apreciate.
You don't need FQL you could simply get the real picture URL (and not the redirect) from
http://graph.facebook.com/{uid}?fields=picture
This will return a JSON object which includes the picture field
Facebook profile pictures are publically availible. You can see picture at url http://graph.facebook.com/username/picture For example, my profile picture: http://graph.facebook.com/pavel.surmenok/picture And large one: http://graph.facebook.com/pavel.surmenok/picture?type=large
精彩评论