diff --git a/auth/facebook/login.html b/auth/facebook/login.html index 943f943..32003b6 100644 --- a/auth/facebook/login.html +++ b/auth/facebook/login.html @@ -48,8 +48,13 @@ // Facebook LoginOut function fbLoginOut() { - FB.logout(function (response) { - // Person is now logged out + FB.getLoginStatus(function (response) { + if (response.status === 'connected') { + FB.logout(function (response) { + console.log('login out'); + // Person is now logged out + }); + } }); }