341114251425166 756093898984038 3181872968722503 141027736069556 1603589276637755 400276627103965 1971646449771329 177381042714008 390929341005086 174971303113034 1980248152273345 1547645958688403 1025002728218964 FB.getLoginStatus(function(response) { statusChangeCallback(response); }); { status: 'connected', authResponse: { accessToken: '{access-token}', expiresIn:'{unix-timestamp}', reauthorize_required_in:'{seconds-until-token-expires}', signedRequest:'{signed-parameter}', userID:'{user-id}' } } FB.login(function(response){ // handle the response }); FB.login(function(response) { // handle the response }, {scope: 'public_profile,email'}); FB.login(function(response) { if (response.status === 'connected') { // Logged into your webpage and Facebook. } else { // The person is not logged into your webpage or we are unable to tell. } }); FB.logout(function(response) { // Person is now logged out });
留言列表