Mike hace 3 años
padre
commit
d9319bae84
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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 + '!';
     });