title: Facebook user location using fb.api
body: <p>I want to allow my user's to login with facebook and while user do that i want to collect there information such as Name,Email,Location, Gender etc. There are two issues that i am facing</p>
  
  <ol>
  <li>FB.api not always returns me user's location. </li>
  <li><p>I am not able to get the user's birthday using user_birhtday. Code is given below. </p>
  
  <p><pre>FB.getLoginStatus(function(response) {
      if (response.status === 'connected') {
          FB.api('/me?fields=age_range,name,location,email,gender', function(response) {
              //Get the user's Information
          });
      } else {
          FB.login(function(response) {
              if (response.authResponse) {
                  FB.api('/me?fields=age_range,name,location,email,gender', function(response) {
                      //Get the user's Information<br>
                  });
              } else {
                  // User is not logged in
              }
          }, {
              scope : 'email'});
      }
  }, true);
  }</pre></p></li>
  </ol>