简体   繁体   中英

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. Please help. 在此处输入图片说明

Add create Facebook ID and SECRET KEY like following.

Create oauth_consumer.properties in asset folder. Then copy ID and secret key into it.

assets/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.

The permissions offline_access and publish_stream are deprecated, thus cannot be requested anymore.

publish_stream can be replaced by publish_actions, offline_access is gone.

Follow the link Error Invalid Scopes: offline_access, publish_stream, when I try to connect with Facebook API

I suggest not using old online tutorials use the Facebook docs first. https://developers.facebook.com/docs/apps/changelog

Hope this will help.Good Luck

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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