Facebook not redirecting to "next" page after logout -
in phonegap app using url logout
window.location.href="https://www.facebook.com/logout.php?next="+encodeuri(my_url)+"&access_token="+fbtoken; here my_url 1 url defined in settings >> advanced >> valid oauth redirect uris text box.
after logout facebook redirect page not found. sample of my_url http://localhost/dogroups_fork/www/#/home
you using wrong method prepare parameter insertion url context.
had done a
console.log(encodeuri('http://localhost/dogroups_fork/www/#/home')); you have noticed, gives same value http://localhost/dogroups_fork/www/#/home unaltered.
the correct method use here encodeuricomponent
Comments
Post a Comment