Say I was to let a user login to my website using facebook, by something like the following url:
http://www.facebook.com/dialog/oauth?client_id=$appId&
redirect_uri=$return&scope=user_birthday,email,user_location
Would there be a way for me to get a list of all the user’s friends and display pictures (where available)? Which graph API function could I use to do this?
You have to perform a query to the
https://graph.facebook.com/me/friendsSample is here: http://developers.facebook.com/docs/reference/api/
And as soon as you have user id – you can point your
<img src="" />to thehttp://graph.facebook.com/<user_id>/pictureurl.