I use facebook php library to authenticate users in my application, it works fine, but for some reason facebook adds #_=_
characters to the end of my uri return. I read that they did it if the redirect_uri
parameter was not set, but I installed it, in fact I was redirected to this URL successfully after logging in to facebook.
This is how I get the login url:
$fbLoginUrl = $fb->getLoginUrl(array( 'scope' => 'email,publish_stream,user_birthday,user_photos,friends_photos', 'redirect_uri' => 'http://myapp.net/auth' ));
Everything works fine, it's just a cosmetic thing, I think. Can anybody help me?
Thanks in advance!
javiervd
source share