screen-shot-2018-03-13-at-7-52-04-pm-1520985332

FB.getLoginStatus(function(response) { statusChangeCallback(response); }); { status: 'connected', authResponse: { accessToken: '...', expiresIn:'...', signedRequest:'...', userID:'...' } } function checkLoginState() { FB.getLoginStatus(function(response) { statusChangeCallback(response); }); }