title: I've got users logging with facebook but how do I get their data?
body: <p>So I got users logging using this code:</p>
  
  <pre><code>  &lt;script&gt;
        window.fbAsyncInit = function() {
          FB.init({
            appId      : '[MY APP ID]',
            xfbml      : true,
            version    : 'v2.1'
          });
        FB.login(function(){}, {scope: 'publish_actions'});
  
        FB.getLoginStatus(function(response) {
        if (response.status === 'connected') {
          console.log('Logged in.');
        }
        else {
          FB.login();
        }
      });
  
        };
  
        (function(d, s, id){
           var js, fjs = d.getElementsByTagName(s)[0];
           if (d.getElementById(id)) {return;}
           js = d.createElement(s); js.id = id;
           js.src = "//connect.facebook.net/en_US/sdk.js";
           fjs.parentNode.insertBefore(js, fjs);
         }(document, 'script', 'facebook-jssdk'));
  
      &lt;/script&gt;
  </code></pre>
  
  <p>But how do I now access the users personal data such as their name, age, location, likes etc?</p>
  
  <p>I've been looking at the guides on developers.facebook but I can't get it to work. What are the steps I need to take?</p>