title: Using facebook API javascript getting email
body: <p>I have this method and I want to get the email of a person and Send email=undefined.</p>
  
  <p>First Try:</p>
  
  <pre><code>     function testAPI() {
      FB.login(function(response) {
       if (response.authResponse) {
         console.log('Welcome!  Fetching your information.... ');
         FB.api('/me', function(response) {
           console.log('Good to see you, ' + response.email + '.');
           alert('Good to see you, ' + response.email + '.');
         });
       } else {
         console.log('User cancelled login or did not fully authorize.');
       }
     }, {scope:'email'});
  </code></pre>
  
  <p>I was searching and i found that I have to use {scope:image} and if i put it, dont show me the alert </p>