wordpress 社交登录插件:不拉 Facebook 好友列表

wordpress social login plugin: not pulling Facebook frinds list

我在我的一个网站上使用 wordpress 社交登录插件。对于在网站上注册的用户来说,它一直运行良好,但它并没有拉动他们的 friends/contacts.

据我所知,我已按照插件和我的 Facebook 应用程序的所有正确设置说明进行操作。我搜索了 Whosebug 和插件支持论坛,寻找其他遇到同样问题但无济于事的人。

基本上,在注册 Facebook 时,应用程序不会请求 user_friends 作为其中一项权限,据我所知这几乎是默认设置?

外面有人可能知道我可能弄错了什么吗?

来自 Facebook api changelog 自 v2.0 以来:

Friend list is no longer part of the default permission set and has its own permission: Asking for access to a person's friend list is now a separate permission that your app must request. The new permission is called user_friends.

从 v2.3(当前)开始:

Permissions

  • A user access token with user_friends permission is required to view the current person's friends.
  • This will only return any friends who have used (via Facebook Login) the app making the request.
  • If a friend of the person declines the user_friends permission, that friend will not show up in the friend list for this person.