facebook graph

Nakulshiva

Newbie
Joined
Jun 21, 2014
Messages
6
Reaction score
0
[h=1][/h]how to get a facebook users friends and profile picture of friend using graph api v2.0?
 
how to get a facebook users friends and profile picture of friend using graph api v2.0?

Have you used Facebook's open graph API before, or is this your first time?

Also, are you using a Facebook SDK, or do you want to do it all yourself?
 
In v2.0 of the API, /me/friends returns friends who also have logged into the app.


Apps created on or after April 30th 2014 must use Graph API v2.0; they're not able to call Graph API v1.0.


For apps which existed before April 30th, these apps can call either Graph API v2.0 or Graph API v1.0, but Graph API v1.0 will be deprecated on April 30th 2015.


Note that if a user logs into an app via v2.0, and you call /v1.0/me/friends, this will still only return app-using friends.


If you want to access non-app-using friends in the case where you want to let your users tag people in stories you publish to Facebook, you can use the /me/taggable_friends API.


In the case where you want to invite people to use your app, Games can use the /me/invitable_friends endpoint in order to render a custom invite selector.
 
Back
Top