Twitter API Not Accepting Callback URL For Android App
Solution 1:
I had this same problem. I did a packet capture since I knew the URL was good. The response from the server was:
<?xml version="1.0" encoding="UTF-8"?>
<hash>
<error>Desktop applications only support the oauth_callback value 'oob'</error>
<request>/oauth/request_token</request>
</hash>
For me the problem was application type in the Twitter application settings needed to be set to "Browser". Problem was that twitter changed their interface and removed the application type. You need to specify a callback URL in the application settings page to implicitly switch it to Browser type.
Solution 2:
It seems the problem was that I had my app configured as Client and it had to be Browser type even though its a native client app on android.
Solution 3:
even i had the same problem but i solved it by adding "https://www.google.com" to the CALLBACK_URL field while registering my application with twitter. Actually i think that providing a valid-url makes the application browser-app else it remains a desktop-app...
Solution 4:
callback to another site must be specified at the time registering your twitter application( in callback (Browser Type) ) , and callback in your code must me same as u specified in the manifest file, under tag..
Post a Comment for "Twitter API Not Accepting Callback URL For Android App"