Mike vor 3 Jahren
Ursprung
Commit
26bbdf73a4
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      desktop11/index.html

+ 1 - 1
desktop11/index.html

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