Search code examples
iosobjective-cfacebookfacebook-graph-apifacebook-ios-sdk

Is it possible to retrieve the _whole_ friendlist of a user using the iOS Facebook SDK?


I am reading through the docs and other questions on Stackoverflow. Am I getting this right that it is actually impossible to retrieve the whole friendlist of the user? The permissions user_friends only refers to friends that have previously logged into the same app with Facebook.

I am wondering if I just oversee the solution or if it is indeed impossible to get access to a user's friends because there is no API that would allow to do so?


Solution

  • Since graph API v2.0, this is no longer possible:

    See

    This will only return any friends who have used (via Facebook Login) the app making the request.

    In v2.0, the friends API endpoint returns the list of a person's friends who are also using your app. In v1.0, the response included all of a person's friends.