title: Facebook PHP SDK how to get user email from Facebook JavaScript SDK 2014
body: <p>I am using both Facebook PHP(4.0) and JS(2.0) SDK together.
  I can grab the user profile data with PHP but not the user's email.
  The user's email is available with the Javascript SDK, but I need it in PHP.</p>
  
  <p>I was using:</p>
  
  <pre><code>$user_profile = (new FacebookRequest($session, 'GET', '/me'))-&gt;execute()-&gt;getGraphObject(GraphUser::className()); 
  </code></pre>
  
  <p>This works but the class GraphUser does not have a function to grab the user's email in 4.0.</p>
  
  <p>Any ideas how I can grab user's email with Facebook PHP SDK version 4.0 ?</p>