title: What is the difference between FB.api and FB.Data.query
body: <p>From what I gather the following two will bring back the same result</p>
  
  <p>FB.api</p>
  
  <pre><code>FB.api('/'+user_id, function(response){
     document.getElementById('name').innerHTML = 'Your name is ' + respone.name;
  });
  </code></pre>
  
  <p>FB.Data.Query</p>
  
  <pre><code>var query = FB.Data.query('select name, uid from user where uid={0}',user_id);
  query.wait(function(rows) {
    document.getElementById('name').innerHTML =
    'Your name is ' + rows[0].name;
  });
  </code></pre>
  
  <p>So what is the difference between these two, what case would one be preferable over the other?</p>