Mike 3 năm trước cách đây
mục cha
commit
33ce5d4721
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      desktop11/index.html

+ 1 - 1
desktop11/index.html

@@ -71,7 +71,7 @@ function testAPI() {                      // Testing Graph API after login.  See
     }, {scope: 'public_profile,email'});
     
     FB.api('/me', function(response) {
-        console.log('testAPI(): ' + response.);
+        console.log('testAPI(): ' + JSON.stringify(response));
         console.log('Successful login for: ' + response.name + ', email = ' + response.email);
         document.getElementById('status').innerHTML =
             'Thanks for logging in, ' + response.name + '!';