Too many redirections trying to use Login


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. ?

Right now i have this by default:

So after entering my username and pass the browser tries to load:

And it says:
There’s a redirect loop
Error 310 (net::ERR_TOO_MANY_REDIRECTS):Too many redirects

What should i do?


Cannot login