Facebook 身份验证对话框 2 步流程
我正在尝试将我的 facebook 应用程序的身份验证对话框设置为只有 1 个步骤,其中用户接受权限,但由于某种原因,facebook 坚持创建一个两步过程。
在身份验证对话框面板中,我已将用户权限设置为 user_photos 并扩展到publish_stream。然而,该对话框仅显示 user_photos 的权限,
这意味着,当用户访问我的网站时,它还会检查权限,并要求他们也允许publish_stream。为什么身份验证对话框不获取这两种权限?这不就是能够写出它的全部意义吗?如果我删除 user_photos 那么对话框也会显示publish_stream 请求,但是我的网站当然会要求 user_photos。
这是设计上的错误还是行为,因为我真的不明白为什么可能的 1 步身份验证会变成 2 步,并且我在其他应用程序中看到它具有更多权限的一步。
I'm trying to set up the auth dialog of my facebook app to only have 1 step where the user accepts permissions, but for some reason, facebook insists on createing a two step process.
In the auth dialog panel I have set user permissions to user_photos and extended to publish_stream. The dialog however ONLY shows permissions for user_photos
this means, that when the user goes to my site, which also checks for permissions they're being asked to permit publish_stream also. Why doesn't the auth dialog take both of the permissions? Isn't that the whole point of being able to write it? If i delete user_photos THEN the dialog will show the publish_stream request too, but then of course my site will ask for user_photos.
Is this a bug or behaviour by design, because I really don't get why a possible 1-step auth is made 2 step and I've seen it one step with much more permissions in other apps.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这不是一个错误,而是一个功能: https://developers.facebook.com/docs /opengraph/authentication/#permissions
用户可以接受基本权限,但拒绝 1 个或多个扩展权限。
That's not a bug, it's a feature: https://developers.facebook.com/docs/opengraph/authentication/#permissions
User may accept basic permissions, but decline 1 or more extended permissions.