roshangit8 / socialauth-android

Automatically exported from code.google.com/p/socialauth-android
0 stars 0 forks source link

Twitter "URL Authentication error" #25

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Register app with Twitter
2. Obtain consumer key and secret
3. Run Android app using key and secret

What is the expected output? What do you see instead?
Should tweet to the user's account but encounters the errors "Application keys 
are not correct. The server running the application should be the same that was 
registered to get the keys." and "URL Authentication error" (see attached log).

What version of the product are you using? On what operating system?
App compiled with Eclipse Indigo for Mac 10.7, emulated on Android 4.2

Please provide any additional information below.
Facebook integration works no problem. My oauth_consumer.properties looks like 
this:
#facebook
graph.facebook.com.consumer_key = (my-facebook-key)
graph.facebook.com.consumer_secret = (my-facebook-secret)

#twitter
twitter.com.consumer_key = (my-twitter-key)
twitter.com.consumer_secret = (my-twitter-secret)

Are there any other fields I need in order for Twitter to work? I am sure that 
the keys match: I checked about three times and even tried resetting them and 
rechecking, still producing the same error. Is there any further requirements 
on the Twitter side that I need to set up other than the app name and keys? 
Thanks in advance.

Original issue reported on code.google.com by brm.schu...@gmail.com on 26 Jan 2013 at 4:42

Attachments:

GoogleCodeExporter commented 9 years ago
Hi,

Please tell me in your twitter account :

1. What you have filled in callback url. If it is empty. Fill any dummy url in 
it.
2. Have you given Read and write access permission.

Original comment by vineet.a...@3pillarglobal.com on 27 Jan 2013 at 7:06

GoogleCodeExporter commented 9 years ago
The callback url was the problem; I wasn't aware that was necessary. Works like 
a charm now. Thanks a lot for the quick reply.

Original comment by brm.schu...@gmail.com on 27 Jan 2013 at 3:08

GoogleCodeExporter commented 9 years ago
Thanks for feedback

Original comment by vineet.a...@3pillarglobal.com on 27 Jan 2013 at 5:57

GoogleCodeExporter commented 9 years ago
Hi,
I am facing the same problem and i have filled callback url also,i filled my 
twitter url as a call back url..
can you please help me??

Thanks
Kirti 

Original comment by hudda.ki...@gmail.com on 27 Feb 2014 at 11:42