Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function testAPI() {
- console.log('Welcome! Fetching your information.... ');
- FB.api('/me', {fields: 'name, email'}, function(response) {
- console.log('Successful login for: ' + response.name);
- document.getElementById('status').innerHTML =
- '' + response.name + ' ' + response.email + '';
- }); }
Add Comment
Please, Sign In to add comment