Facebook getLoginStatus for testing
FB.getLoginStatus(function(response) { | |
if (response.status === 'connected') { | |
alert("yes am connected"); | |
} else if (response.status === 'not_authorized') { | |
alert("logged into facebook but not authorized your app"); | |
} else { | |
alert("not logged into facebook"); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment