1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

facebook graph

Discussion in 'Black Hat SEO' started by Nakulshiva, Jun 30, 2014.

  1. Nakulshiva

    Nakulshiva Newbie

    Joined:
    Jun 21, 2014
    Messages:
    6
    Likes Received:
    0
    Occupation:
    developer
    Location:
    india
    [h=1][/h]how to get a facebook users friends and profile picture of friend using graph api v2.0?
     
  2. jasperq

    jasperq Newbie

    Joined:
    May 26, 2014
    Messages:
    4
    Likes Received:
    1
    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?
     
  3. crourtjesse

    crourtjesse Newbie

    Joined:
    May 21, 2014
    Messages:
    21
    Likes Received:
    2
    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.
     
    • Thanks Thanks x 1
  4. Nakulshiva

    Nakulshiva Newbie

    Joined:
    Jun 21, 2014
    Messages:
    6
    Likes Received:
    0
    Occupation:
    developer
    Location:
    india
    its my first time...