title: Facebook API how to get all wall items
body: <p>I am having trouble getting all the facebook posts, message, photos etc... that show up on my wall via the Facebook API.  Basically, many items are missing in the result set.  I tried the following with FQL:</p>
  
  <pre><code> $facebook = new Facebook(array(
                  'appId' =&gt; FB_APPID,
                  'secret' =&gt; FB_SECRET,
                  'cookie' =&gt; true
        ));
        $fql = "SELECT post_id, actor_id, target_id, message FROM stream WHERE source_id =me() ORDER BY updated_time DESC";
  
     //Create Query
     $params = array(
         'method' =&gt; 'fql.query',
         'query' =&gt; $fql,
     );
     //Run Query
     $result = $facebook-&gt;api($params);
  </code></pre>
  
  <p>But this feed seems to be missing some items, and i don't know why.</p>
  
  <p>I also tried with reading the graph feed at <code>http://graph.facebook.com/me/feed?access_token=&lt;Access+token&gt;</code> and again, i also don't get all the feed items.</p>
  
  <p>What is the problem?  Why am I missing some items?</p>