mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-16 11:02:11 +08:00
Update facebook-js-sdk-tests.ts
This commit is contained in:
@@ -14,6 +14,12 @@ FB.getLoginStatus(function(response: fb.AuthResponse) {
|
||||
console.log(response.authResponse.accessToken);
|
||||
});
|
||||
|
||||
FB.getLoginStatus(function(response: fb.AuthResponse) {
|
||||
console.log(response);
|
||||
console.log(response.status);
|
||||
console.log(response.authResponse.accessToken);
|
||||
}, true);
|
||||
|
||||
FB.getAuthResponse(function(response: fb.AuthResponse) {
|
||||
console.log(response);
|
||||
console.log(response.status);
|
||||
|
||||
Reference in New Issue
Block a user