Is There A Way To Redirect Users From Facebook Browser (onclick) Enforcing The Url To Open In Chrome Or Any Other Browser?
Im getting a strange bug with facebook browser where My social login just dont work for some reason. It is like the facebook app browser cant open a new window when some one tries
Solution 1:
OK so the best practice is to catch the browser type and just remove the social option for login or signup with
functionisFacebookApp() {
var ua = navigator.userAgent || navigator.vendor || window.opera;
return (ua.indexOf("FBAN") > -1) || (ua.indexOf("FBAV") > -1);
}
if(isFacebook){
//ToDo: some logic or ui manipulation
}
Unfortunately We have no power over the facebook browser and the only way user can be redirected out of it is by the user itself by checking some option this way.
For us developers, We just have to leave the form way of login/signup.
Post a Comment for "Is There A Way To Redirect Users From Facebook Browser (onclick) Enforcing The Url To Open In Chrome Or Any Other Browser?"