简体   繁体   中英

Facebook Graph API get friends of friends

I'm using the Facebook's Graph API ( https://developers.facebook.com/tools/explorer ), and query the "friends" field on my friends. But it always give me:

{
  "error": {
    "message": "Unsupported operation", 
    "type": "OAuthException", 
    "code": 100
  }
} 

Is this error supposed to happen? If it is, then is there any way to crawl Facebook friends' friends using other methods?

Any suggestions would be much appreciated, thanks!

Requesting the friends of friends was never possible via the Graph API. Even more, starting with v2.0 you'll only see friends who are also using the same app if you request /{user_id}/friends

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