Reputation: 941
I've just implemented Request Dialog to invite friends of a logged in person.
It works, a notifications shows up on invited friend's FB page, then this friends click it, and accepts the application.
But then, when I request "/me/friends" on a user who invited someone, this invited user doesn't show up.
What am I doing wrong?
Upvotes: 0
Views: 34
Reputation: 19995
The friend and the session user need to both have granted user_friends
permission
- A user access token with user_friends permission is required to view the current person's friends.
- 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.
https://developers.facebook.com/docs/graph-api/reference/v2.2/user/friends
Upvotes: 1