title: Help needed - fql query in facebook api
body: <p>I want to get my friends picture and their last status message with time.</p>
  
  <blockquote>
    <p><strong>message,time FROM status</strong></p>
    
    <p><strong>pic_square FROM user</strong></p>
  </blockquote>
  
  <pre><code>    $status = $facebook-&gt;api_client-&gt;fql_query("SELECT message,time FROM 
  status WHERE uid in (SELECT uid2 FROM friend WHERE uid1=".$user.")");
  
      echo "&lt;pre&gt;";
      print_r($status);
      echo "&lt;/pre&gt;";
  </code></pre>
  
  <p>above query returns all statuses, i just want only last status message. Also, how can i modify this query to get pic_square from user table.</p>
  
  <p>Thanks in advance,</p>