I am trying to integrate my website with facebook login. I have followed all the documentation provided by Facebook (Quick Start). Here is my code
function i
There is a temporary solution for you, if you can have a separate link/button to logout. You can logout from this separate button using facebook api like:-
FB.getLoginStatus(function(response) {
if (response.status === 'connected') {
// Logged into your app and Facebook.
FB.logout(function(response) {
//Person is now logged out
});
}
});
And you can turn off auto logout link from facebook login button like this data-auto-logout-link="false":-