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