In the above example, remove the trailing comma (oauth: true,) //, which can only be from copy / paste, but you want to remove any gotchas
, , , .
FB.Event.subscribe("auth.statusChange", function(response) {
console.log(response);
});
FB.Event.unsubscribe("auth.statusChange");
getLoginStatus .
FB.getLoginStatus(function( response ) {
console.log(response);
});
, response.status, : ,
response.authResponse , : accessToken, expiresIn ..