0

I am integrating Facebook using SocialAuth library. I have downloaded and integrated Socialauth library successfully in the project. I am able to run the project and getting facebook screen while tapping on Facebook button. facebook is asking for credentials as well. i have entered the credentials but it is now always showing me error like "Invalid scopes, publish_stream. This message is only shown to developers......". and not able to login to Facebook. Please see the image.

Below code is written on "Login to Facebook" button

adapter.authorize(LoginActivity.this, Provider.FACEBOOK);

enter image description here

Ashish Chauhan
  • 39
  • 1
  • 10

2 Answers2

0

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

Try to download and import the latest version of the SocialAuth jar for android

Qadir Hussain
  • 8,721
  • 13
  • 89
  • 124
0

Please add this line

adapter.addConfig(Provider.FACEBOOK, "YOUR_FB_APP_ID","YOUR_FB_APP_SECRET", "publish_actions");

above of

adapter.authorize(LoginActivity.this, Provider.FACEBOOK);
Shoeb Siddique
  • 2,805
  • 1
  • 22
  • 42