-1

On my app, i have a feature that uses the user's facebook "user_friends" permission. It used to work before they upgraded to API V.2.0, but now it does not: When I created the app on FB and used test users (in development mode) my feature that includes this permission worked. But, when i turned on the app (to be live) - it does not work. So - it works on Test users but not on Live users. How is that possible?

MorBek
  • 45
  • 1
  • 7
  • Possible duplicate of [Facebook Graph Api v2.0+ - /me/friends returns empty, or only friends who also use my app](https://stackoverflow.com/questions/23417356/facebook-graph-api-v2-0-me-friends-returns-empty-or-only-friends-who-also-u) – Lucas Zamboulis Oct 04 '17 at 15:49

1 Answers1

5

This is because /me/friends will only return those friends which also have used (via Facebook Login) the app making the request.

See

  • This will only return any friends who have used (via Facebook Login) the app making the request.
  • If a friend of the person declines the user_friends permission, that friend will not show up in the friend list for this person.
Tobi
  • 31,405
  • 8
  • 58
  • 90