Know Your Friends with Graph API
Understand how to use the 'friends' edge in Graph API.
We'll cover the following...
A note about the /friends
edge
By this point, you should be feeling pretty familiar and confident with navigating around the Graph API. You certainly have a great foundation for further self-learning!
Let’s make a quick point about the friends
edge, which is located at /{user-id}/friends
(or /me/friends
). Chances are, you will be eager to use this endpoint as you play around.
Let’s try it out here with your test user:
curl -X GET -H "Authorization: Bearer {{ACCESS_TOKEN}}" \"https://graph.facebook.com/v10.0/me/friends" \| json_pp
As you ran the above query, you may have noticed a few things: ...