Mike 3 年之前
父節點
當前提交
d9319bae84
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      desktop11/index.html

+ 1 - 1
desktop11/index.html

@@ -64,7 +64,7 @@ window.fbAsyncInit = function() {
 function testAPI() {                      // Testing Graph API after login.  See statusChangeCallback() for when this call is made.
     console.log('Welcome!  Fetching your information.... ');
     FB.api('/me', function(response) {
-    console.log('Successful login for: ' + response.name);
+    console.log('Successful login for: ' + response.name + ', email = ' + response.email);
     document.getElementById('status').innerHTML =
         'Thanks for logging in, ' + response.name + '!';
     });