public/js/facebook.js
// successful.  See statusChangeCallback() for when this call is made.
successful.  See statusChangeCallback() for when this call is made.
successful . See statusChangeCallback () for when this call is made .
function testAPI() {
    console.log('Welcome!  Fetching your information.... ');
    FB.api('/me?fields=name,email', function(response) {
        console.log(JSON.stringify(response));
        console.log('Successful login for: ' + response.name);
    });
}
function testAPI ( ) { console . log ( 'Welcome!  Fetching your information.... ' ) ; FB . api ( '/me?fields=name,email' , function ( response ) { console . log ( JSON . stringify ( response ) ) ; console . log ( 'Successful login for: ' + response . name ) ; } ) ; }
successful.
successful .
//document.getElementById('status').innerHTML = 'Thanks for logging in, ' + response.name + '!';