title: Not receiving first name, last name and surname from Facebook OAuth
body: <p>Lately I have inherited a spring application from another developer which uses Spring Social and Spring Security to authenticate the user.</p>
  
  <p>Because the developer who wrote it wants to discontinue his App Id on Facebook, I created a new one. And this is when the problem started.</p>
  
  <p>I changed the app id and app secret to my new ones and suddenly by signing up, the Facebook stopped delivering first name, last name and e-mail address.</p>
  
  <p>At the beginning I thought it might be because of my new Facebook user who is also the owner of the new app id but no. The app is still running productive with the old app id and when I sign up with my user the aforementioned attributes are delivered.</p>
  
  <p>What am I missing here? Do I have to switch something magical when defining my Facebook application on <a href="http://developers.facebook.com" rel="nofollow">developers.facebook.com</a>?</p>
  
  <p>The new application is activated and available to the general public. The Site URL and app domains are set as well as Valid OAuth redirect URIs.</p>
  
  <p>I am currenlty trying to test the application on <code>localhost</code> and so are the domains set in the Facebook app settings.</p>
  
  <p>The instance of <code>org.springframework.social.connect.UserProfile</code> returns the name of the user if I use <code>getName()</code>, however <code>getFirstName()</code>, <code>getLastName()</code> and <code>getEmail()</code> are all returning <code>null</code>.</p>