Reputation: 662
This might be an easy question, but I'd like your help with this. I couldn't find a solution on stackoverflow neither with google, probably cause I don't know what to search.
I'm using the facebook API for some purposes. Users who are visiting the page, need to login with facebook and give standard access to there profile. The only thing I store at the moment is there facebookid.
The issue: On this page I need the amount of friends (just the countnumber) from the last users who visited the page. (for some purposes) To bad the friends are not publicly accessible.
What's the best solution to retrieve this?
I'd rather not save the amount of friends in the db, cause this is not accurate.
Thanks in advance!
Upvotes: 0
Views: 132
Reputation: 818
You need to collect offline_access extended permission. And then to access other friend data, please cllect the friend_* extended permissions listed in the following SO url
Facebook Graph API - get friends info
Hope it will help.
Upvotes: 1