1

i want to display facebook friends on my website and i want to use facebook graph api for that,

please

Thanks Prakash Facebook Graph API with PHP connection

2

2 Answers 2

2

This tutorial might help: Facebook PHP SDK It includes example as well.

Sign up to request clarification or add additional context in comments.

1 Comment

sudhir, github exampls are vary useful. i got my answer, thank u vary much.
0

Generate an access token for yourself by going to https://developers.facebook.com/tools/explorer and then you may be able to retrieve your friends by accessing https://graph.facebook.com/_YOUR_USER_ID_/friends?access_token=xx and then the profile images can be retrieved using the following graph API call - https://graph.facebook.com/_FRIEND_PROFILE_ID_/picture?type=square

Of course, for more details, the Facebook Documentation (https://developers.facebook.com/docs/) is where you go to.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.