It Prasanna Raghavan
function checkLoginState() { FB.getLoginStatus(function(response) { statusChangeCallback(response); }); }

Ads X

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