我的 Facebook 应用程序的身份验证对话框显示:
[Application name] would like to access your public profile, friend list and email address.
我不想或不需要阅读用户的 friend 列表,这似乎可能会阻止人们使用它。我仅使用该应用程序进行身份验证,仅使用 email
permission .
当我 debug token ,它在范围字段中仅显示 email
。然而,当我在 Graph API Explorer 中使用该 token 时,它确实向我显示了 friend 列表。我假设现在默认包含好友列表,但我希望它仍然可以以某种方式禁用。
如何从身份验证对话框中获取好友列表,或者说明我不会使用该信息?这个has been asked before ,但该答案不再适用。
最佳答案
抱歉,你不能。引用自 documentation ,
When a user logs into your app and you request no additional permissions, the app will have access to only the user's public profile and friend list.
这些权限将默认添加到您的应用程序中,您可以选择做什么。
关于facebook - 获取不那么吓人的 Facebook 身份验证权限列表,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16710959/