The Login portion is OK. I had to add a "You are not x? Click here to login with another account" that calls the following function:
function deslogarFacebook(){
FB.logout(function (response){
window.location.href = "login";
}); }
He's sending you back to the login screen. However, it continues to appear "Continue as X" (where X is the name of the person who is logged in to Facebook) and I would like that by clicking this button it would disengage the person from Facebook also so that she could log in with another account.
I have already read the documentation from Facebook Developers but there is only 3 cases about FB.Logout but it does not explain how I can actually remove the person from Facebook so that he can log in with another account.