I am currently using JS SDK and PHP SDK. I need a simple way to display all friends’s names and friends’ pictures.
I can display pictures by using this:
https://graph.facebook.com/zuck/picture
but I don’t know how to display the names.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
https://graph.facebook.com/me/friends?access_token=the_tokenwill give the list of your friends in JSON.Refer this. You can click on that ‘Friends’ link to see the output, However please note that the API Docs page is using an access_token which will expire soon .