title: getting null for user email - restfb
body: <p>I've recently started working on <a href="https://developers.facebook.com/docs/facebook-login/manually-build-a-login-flow/v2.1" rel="nofollow noreferrer">manual login flow</a> of facebook. And followed this <a href="http://www.richardnichols.net/2010/06/implementing-facebook-oauth-2-0-authentication-in-java/" rel="nofollow noreferrer">blog</a> to get the access token and using <a href="http://restfb.com/" rel="nofollow noreferrer">rest<em>fb</em></a> to access user information.<br>
  Below is the code snippet as mentioned - <a href="http://restfb.com/#fetching-single-objects" rel="nofollow noreferrer">Fetching Single Objects</a>:</p>
  
  <pre><code>FacebookClient facebookClient = new DefaultFacebookClient(ACCESS_TOKEN, APP_SECRET);
  User user = facebookClient.fetchObject("me", User.class);
  </code></pre>
  
  <p>I'm successfully able to get the user's name, first name and last name but it returns <code>null</code> for <code>email</code> (<code>user.getEmail();</code>).</p>
  
  <p>My facebook app has default permissions as:
  <img src="https://i.stack.imgur.com/ylVDj.jpg" alt="permissions"></p>
  
  <p>Anyone help me how can I access the user email?</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>I've been trying the <code>graph-api</code> explorer to see what I'm getting for <code>email</code>
  <img src="https://i.stack.imgur.com/ctG8l.jpg" alt="graph-api explorer">
  and it says <code>Field is empty or disallowed by the access token</code>. What do I'm supposed to do to fix this?</p>