Reputation: 327
I am using 3pillar socialauth to write an app that connect with 3 sites - facebook, twitter and google+. While login with facebook is working perfectly fine I am having issues with twitter. I get the following message - org.brickred.socialauth.exception.SocialAuthConfigurationException: Application keys are not correct. The server running the application should be same that was registered to get the keys.
If I use the default keys provided with the samples the app works perfectly fine. How do I resolve this issue? Please guide me. Thanks in advance.
Upvotes: 1
Views: 808
Reputation: 30611
Twitter login with SocialAuth
works perfectly (I've done it). Please ensure that you have done all of the following:
1. You have created an app in the Twitter account of your client/company, and the consumer key & consumer secret used in your Android app are the same as those you got from your Twitter app.
2. In your Twitter app, you have set the access level to either Read and write
or Read, write, and direct messages
.
3. You must provide a callback URL in your Twitter app.
References:
1. Step by Step Guide to Get Twitter consumer key and secrets.
Upvotes: 1