Well, it turned out that there is nothing wrong with my configuration. In my Twitter application, it’s just the wrong setting for “Application Type”. If you have this problem, go to the application’s editing window on Twitter and check the “browser” box for “Application Type”, and then if authentication succeeds in redirecting the browser to the URL callback address. Now - I could not use the Android-style callback URL (myapp: // twitt) as it did not pass the form validation. But it turned out - you can enter anything that is a valid URL and provide a callback URL in your code
Bostone
source share