请求离线访问被忽略
我在定义用户应允许我的应用程序所需的权限时遇到问题。 实际上,仅offline_access 不起作用。
我将其放在应用程序描述(经过身份验证的推荐)中以及当用户请求授权时
$dialog_url = "https://www.facebook.com/dialog/oauth?
client_id=".$app_id
."&redirect_uri=".urlencode($my_url)
."&scope=offline_access" >
."&state=".$_SESSION['state'];
我不明白为什么,当出现 oauth 对话框时,没有询问离线权限!我已经尝试删除并重新安装该应用程序。
有什么建议吗?谢谢
I have a problem to define the required permission an user should allow to my application.
Actually, just the offline_access doesn't work.
I put it in the app description (Authenticated Referrals) and when the user asks for authorization
$dialog_url = "https://www.facebook.com/dialog/oauth?
client_id=".$app_id
."&redirect_uri=".urlencode($my_url)
."&scope=offline_access" >
."&state=".$_SESSION['state'];
I can't understand why, when the oauth dialog appears, no offline permission is asked! i've already tried to remove and reinstall the application.
Any suggestion? thank you
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
它已被弃用,请参阅此页面以获取有关现在做什么的说明:https:// /developers.facebook.com/docs/offline-access-deprecation/
it has been deprecated, see this page for an explanation on what to do now: https://developers.facebook.com/docs/offline-access-deprecation/
根据文档,会提示
offline_access
在 OAuth 对话框期间的第二页上。您是否点击了第一页,却看不到第二页?According to the documentation,
offline_access
will be prompted on a second page during the OAuth dialog. Are you clicking through the first page, and simply not seeing a second page?未被理解,因为它被忽略了。我有
为什么他们弃用它?有新的方法吗?
Unedestood because it was ignored. I had the
why they deprecated it? Is there a new way to do it?