Facebook error: “(#100) Tried accessing nonexisting field (user_friends) on node type (User)”

后端 未结 1 876
闹比i
闹比i 2021-02-19 08:54

I\'m using MVC4 and try to integrate facebook-login. I\'ve check the facebook scope list and it appears I use it correctly. Except the error when I try to get user_friends

1条回答
  •  北荒
    北荒 (楼主)
    2021-02-19 09:26

    user_friends is the name of the permission you need to request from the user, before you can access their friends.

    It is not the name of the endpoint that you request the data from – that is /me/friends, see https://developers.facebook.com/docs/graph-api/reference/user/friends

    0 讨论(0)
提交回复
热议问题