I am using this library for PHP to try the login:
I have added my CONSUMER_KEY and my CONSUMER_SECRET y config.php
Should i add too the OAUTH_CALLBACK? What URL should i put in there?
The URL to my local file called callback.php?? Can not i put in there any other URL? for example. www.mysite.com/demo/ ?
Right now i have this by default:
http://local.dev/twitteroauth/callback.php
So after entering my username and pass the browser tries to load:
https://twitter.com/login?redirect_after_login=%2Foauth%2FOAUTH_CALLBACK%3Foauth_token%XXXXXX%26oauth_verifier%XXXXXX
And it says:
There’s a redirect loop
Error 310 (net::ERR_TOO_MANY_REDIRECTS):Too many redirects
What should i do?
Thanks.