|
@@ -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 + '!';
|
|
|
});
|