Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I get "close friends" list of a Facebook user, using the Graph API?

The graph Api gives me the user's friends. But I want to know who its close friends are (SmartLists).

How can I do that using the Graph API?

like image 891
TIMEX Avatar asked Sep 25 '11 20:09

TIMEX


People also ask

What data can I get from Facebook Graph API?

The Graph API is the primary way to get data into and out of the Facebook platform. It's an HTTP-based API that apps can use to programmatically query data, post new stories, manage ads, upload photos, and perform a wide variety of other tasks.

How do I use Facebook Graph API and extract data?

To use the Graph API Explorer tool, go to developers.facebook.com/tools/explorer. Generate the access token you need to extract data from the Facebook Graph API by selecting Get User Access Token from the App Token drop-down menu under the name of your app.


1 Answers

You can call /me/friendlists to get the friends list. One of them should be close friends. Then go to /closeFriendsListId/members to see who is on that list. You will need read_friendlists extended permissions.

like image 99
bkaid Avatar answered Oct 23 '22 04:10

bkaid