title: Twitter streaming api limit count
body: <p>I am attempting to access the twitter streaming api, however I want to limit the number of replies I get, I tried using the count parameter:</p>
  
  <pre><code>https://user:pass@stream.twitter.com/1/statuses/sample.json?count=100
  </code></pre>
  
  <p>But I got the error:</p>
  
  <pre><code>Parameter count not allowed in role statusSpritzer 
  </code></pre>
  
  <p>Can anyone explain why this isn't allowed?</p>
  
  <p>The code I am trying to use is this:</p>
  
  <pre><code>$url = "https://user:pass@stream.twitter.com/1/statuses/sample.json";
  $fp = fopen($url,"r");
  
  while($data = fgets($fp)){
      $decode = json_decode($data);               
      for($i = 0; $i &lt; count($decode); $i++){         
          echo $decode-&gt;$i;
      }       
  }
  </code></pre>
  
  <p>But takes too long to process due to the number of tweets returned, so I am trying to limit the number..</p>