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
It is a known bug: https://developers.facebook.com/support/bugs/1337180213092053/
Subscribe to it if you want to know when it is solved.
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":-
<div class="fb-login-button" data-width="10" data-max-rows="1" data-size="large" data-scope="email,public_profile" data-button-type="continue_with" data-show-faces="false" data-auto-logout-link="true" data-use-continue-as="true" >
<div class="fb-login-button" data-width="10" data-max-rows="1" data-size="large" data-scope="email,public_profile" data-button-type="continue_with" data-show-faces="false" data-auto-logout-link="false" data-use-continue-as="true" >