I have an application associated with Facebook.
When I say associated, I mean that the users gave me the permissions on the email and I store their uid in my database.
What I want to do now, is to show them all their facebook friends that are in my application too. Moreover, if an user is visiting a profile of a friend of a friend’s Facebook (second level) I would like to notify this in my application.
In order to do this, I need to be able to retrieve all the friends’ uid of my users. Does exist a GraphAPI function that gives me all the Friend uid connected to my app?
I have an application associated with Facebook. When I say associated, I mean that
Share
UPDATE: You can get it with the REST API Facebook 'Friends.getAppUsers' using Graph API
You can only get the friends of a user who has given you permission to gather their friends. For example if you are logged in and go here, you should see all of your friends.
If you try to look up the friends of another user though you get an error message
See the User object developer docs.
**If you click on the links in here while logged into facebook it will automatically add in your appropriate tokens.