1

I am using the following code to login a user and fetch his facebook friends :

 FBSDKLoginButton* loginButton = [[FBSDKLoginButton alloc] init];
    loginButton.delegate = self;
    loginButton.readPermissions = @[@"public_profile", @"email", @"user_friends"];

Problem: The Facebook friends list is not getting retrieved for some of the users. I have verified the Facebook app versions for these users - They are using the latest Facebook app version .

Nirav Sanghvi
  • 408
  • 3
  • 14

1 Answers1

0

Since v2.0 of the Graph API, you can only get friends who authorized your App with the user_friends permission too. Btw, it does not matter which Facebook App version they have installed, that´s irrelevant.

More information: Facebook Graph Api v2.0+ - /me/friends returns empty, or only friends who also use my app

Community
  • 1
  • 1
andyrandy
  • 72,880
  • 8
  • 113
  • 130