title: Getting an Facebook user profile data with Javascript
body: <p>I need to get a facebook user uid , gender, photo and other profile data with Javascript.</p>
  
  <p>I remember there was a method to get an user object with .id, .gender, .photo but I haven't got a copy of the API call and I can't find an explanation in the documentation.</p>
  
  <p>How do I get the user UID and gender with Javascript ?</p>
  
  <p>Thanks</p>