如何在范围变量中删除权限offline_access和publish_stream [英] How to remove permissions offline_access and publish_stream in scope variable

查看:174
本文介绍了如何在范围变量中删除权限offline_access和publish_stream的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



如下所示:


无效范围:offline_access,publish_stream。此消息仅向开发人员显示。您的应用的用户将忽略这些权限(如果存在)。请阅读有关权限的文档,网址为: https://developers.facebook.com/docs/ Facebook的登录/权限


从同一个问题我发现答案,它是删除权限offline_access和publish_stream的范围变量,但我不明白怎么做?



任何人都可以帮助我?

解决方案

如果您在使用Facebook身份验证(1)登录时具有以下Url请求。那么你必须删除你发送的最后一个参数,然后尝试以下url(2)请求希望它可以工作。

  https: /www.facebook.com/dialog/oauth?client_id=113006002193070&redirect_uri=http%3A%2F%2Fyougagged.com%2Findex&scope=email%2C+offline_access(1)
https://www.facebook .com / dialog / oauth?client_id = 113006002193070& redirect_uri = http%3A%2F%2Fyougagged.com%2Findex(2)


I have error when I want login drupal 7 with facebook account and I use module hybridauth.

like this:

Invalid Scopes: offline_access, publish_stream. This message is only shown to developers. Users of your app will ignore these permissions if present. Please read the documentation for valid permissions at: https://developers.facebook.com/docs/facebook-login/permissions

From same question I found the answer and it is to remove permissions offline_access and publish_stream in scope variable but I don't understand how to do that?

anyone can help me?

解决方案

If you have following Url request while login with Facebook authentication (1). Then you have to remove last parameter you are sending and try following url (2) request hope it will works.

https://www.facebook.com/dialog/oauth?client_id=113006002193070&redirect_uri=http%3A%2F%2Fyougagged.com%2Findex&scope=email%2C+offline_access (1)
https://www.facebook.com/dialog/oauth?client_id=113006002193070&redirect_uri=http%3A%2F%2Fyougagged.com%2Findex (2)

这篇关于如何在范围变量中删除权限offline_access和publish_stream的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆