For some reason when I call FB.logout();, the user does not actually get logged out of Facebook.
Why might this be? No js errors get thrown, and I can step through the code as it runs through the SDK… it just doesn’t successfully log out.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You need to have the
fb-rootDIV tag first, then callFB.init()and thenFB.logout()Example Usage:
Alternatively, you should redirect to this url logout: