0

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. enter image description here

Brucode
  • 205
  • 1
  • 3
  • 12
  • this is best site to integrate social auth sdk..http://www.codeproject.com/Tips/457153/How-to-integrate-Facebook-Twitter-Linkedin-in-Andr – Saritha G Nov 19 '15 at 05:56
  • 1
    you must get the Key and secrets from the facebook. Then only you will get facebook login page..!! – Saritha G Nov 19 '15 at 05:59
  • I have app id and secrets.. i exactly don't know how to add that but I tried it 'adapter.addConfig(SocialAuthAdapter.Provider.FACEBOOK,"1024126224306394","d3c7cb3449569e57087a08645b293d39",null);' – Brucode Nov 19 '15 at 06:06
  • Where did u add ID and secret key?? You have add it in "oauth_consumer.properties" file which is created in assets. – Saritha G Nov 19 '15 at 06:17
  • add your ID and secret keys like this: #facebook graph.facebook.com.consumer_key = YOUR_ID graph.facebook.com.consumer_secret = YOUR_SECRET_KEY – Saritha G Nov 19 '15 at 06:20

2 Answers2

2

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
Saritha G
  • 2,588
  • 1
  • 15
  • 27
1

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

Community
  • 1
  • 1
Shubhank Gupta
  • 833
  • 2
  • 15
  • 35