I want to get OAuth tokens from users who authorize my application. But when I send them to https://api.twitter.com/oauth/authenticate and user accepts it by clicking on “Sign In” button, then Twitter says “Redirecting you back to the application” and redirects to “https://api.twitter.com/oauth/OAUTH_CALLBACK?oauth_token=XXX&oauth_verifier=XXX” where it gets to infinite loop. Browser shows HTTP Error 310 (too many redirects) and never redirects me back to my application.
Would anyone know where could be a problem?
Thanks a lot.