title: Getting user's birthday through Facebook API
body: <p>I'm having some troubles with the Facebook API, I am requesting permission for some information of the user by Javascript:</p>
  
  <pre><code>FB.login(function (response) {
      if (response.authResponse) {
          // authorized
      } else {
          // canceled
      }
  }, {scope: 'email,user_birthday,user_location'});
  </code></pre>
  
  <p>Now I want to get the user's information (when he is authorized) by PHP:</p>
  
  <pre><code>$facebookUser = json_decode(file_get_contents('https://graph.facebook.com/' . $this-&gt;data['userid'] . '?access_token=' . $this-&gt;oathtoken . '&amp;fields=id,name,location,gender,email,picture,birthday,link'));
  </code></pre>
  
  <p>All working great, except that the API is not giving the user's birthday back. Even when I set my birthday privacy settings on public it won't show up.</p>
  
  <p>So:</p>
  
  <pre><code>echo $facebookUser['birthday']; // Gives an error, since this key does not exists
  </code></pre>
  
  <p>Does somebody have an idea how to fix this?</p>