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.

Asked
Active
Viewed 287 times
0
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
-
1you 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 Answers
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
-
Thanks for the response i've overcome the previous problems now facing problem with linked in integration – Brucode Nov 19 '15 at 07:15
-
that part is also done.. but again stuck at fetching user profile data.. Shall i leave the socialAuth and use native Facebook/LinkedIn SDk? – Brucode Nov 19 '15 at 12:24
-
You can easy get the user profile using socialAuth sdk. Once read the sample documentation of that given link. – Saritha G Nov 19 '15 at 13:07
-
-
1Once refer this link: http://www.3pillarglobal.com/insights/part-1-using-socialauth-to-integrate-facebook-api-in-android ...it will give you full clarity. – Saritha G Nov 20 '15 at 05:47
-
now i've created a demo app for testing social auth.. here all the functions are working but not able to return the required result. – Brucode Nov 20 '15 at 06:02
-
Yeah..first i'm logged in successfully and then flow moves to error part when i try to fetch profile details – Brucode Nov 20 '15 at 06:36
-
-
-
Refer this answer..http://stackoverflow.com/questions/30522836/error-social-auth-4-4-invalid-scopes-publish-stream – Saritha G Nov 20 '15 at 08:53
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
-
thanx for the response but I guess in the link the person was using facebook sdk , i don't know how to apply those things for socailauth – Brucode Nov 19 '15 at 05:52
-
-