简体   繁体   English

在Android中使用社交身份验证的Facebook登录集成中的权限问题

[英]Facing permission Issues in facebook login integration using social auth in android

Hi all I'm using SocialAuth library for Facebook integration in my app but after providing the credentials the screen attached below appears. 大家好,我正在使用SocialAuth库将Facebook集成到我的应用程序中,但是在提供了凭据之后,将出现以下屏幕。 Please help. 请帮忙。 在此处输入图片说明

Add create Facebook ID and SECRET KEY like following. 添加创建Facebook ID和SECRET KEY,如下所示。

Create oauth_consumer.properties in asset folder. 在资产文件夹中创建oauth_consumer.properties。 Then copy ID and secret key into it. 然后将ID和密钥复制到其中。

assets/oauth_consumer.properties 资产/oauth_consumer.properties

 #facebook 
 graph.facebook.com.consumer_key = YOUR_ID                     
 graph.facebook.com.consumer_secret = YOUR_SECRET_KEY

error is showing is invalid scopes publish_stream. 错误显示是无效范围publish_stream。

The permissions offline_access and publish_stream are deprecated, thus cannot be requested anymore. 权限offline_access和publish_stream已被弃用,因此无法再请求。

publish_stream can be replaced by publish_actions, offline_access is gone. publish_stream可以由publish_actions代替,offline_access消失了。

Follow the link Error Invalid Scopes: offline_access, publish_stream, when I try to connect with Facebook API 当我尝试连接Facebook API时,单击链接错误无效范围:offline_access,publish_stream

I suggest not using old online tutorials use the Facebook docs first. 我建议不要使用旧的在线教程,首先使用Facebook文档。 https://developers.facebook.com/docs/apps/changelog https://developers.facebook.com/docs/apps/changelog

Hope this will help.Good Luck 希望这会有所帮助。祝你好运

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM