title: Permission to get user email with Facebook PHP SDK
body: <p>I have a working integration with facebok api via PHP SDK and working login. Now I tried to add the permission for email as well with the following code, but when trying to connect/login to the app the email is not requested.</p>
  
  <pre><code>// login or logout url will be needed depending on current user state.
  if ($me) {
    $logoutUrl = $facebook-&gt;getLogoutUrl();
  } else {
    $loginUrl = $facebook-&gt;getLoginUrl(array(
      'req_perms' =&gt; 'email',
    ));
  }
  </code></pre>
  
  <p>The error must be in this code since everything else works fine. Thanks!</p>