title: Facebook Graph API, how to get users email?
body: <p>I'm using the Graph API, but I can't figure out how to get a logged-in users email address.</p>
  
  <p>The intro to Graph states "The Graph API can provide access to all of the basic account registration data you would typically request in a sign-up form for your site, including name, email address, profile picture, and birthday"</p>
  
  <p>All well and good, but how do I access that info?</p>
  
  <p>This is what I have so far:</p>
  
  <pre><code>$json = $facebook-&gt;api('/me');
  
  $first = $json['first_name']; // gets first name
  $last = $json['last_name'];
  </code></pre>