简体   繁体   中英

Graph API count friends

I know that facebook remove many options from open graph, but is there some options to get only friends number? I don't need to have nothing more than all friends count for user - not only number of friends who also use my app.

Is there such option?

From the FAQ

For people who have logged into my app with Facebook, how can my app get their total friend count?

As of Tuesday 22nd July 2014, we now return a total_count field within a summary property in the response to /v2.0/me/friends . This means all upgraded apps now have access to a person's total friend count in all calls to the friends edge.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM