count parameter in streaming API statuses/filter method

6 views
Skip to first unread message

Anthony Bruni

unread,
Nov 12, 2009, 2:25:32 PM11/12/09
to Twitter Development Talk
We have a Shadow client using the streaming API invoking statuses/
filter method. We are trying to use the count parameter to implement
"catch-up" logic for recovering from lost connectivity. With count
specified, we get a 200 OK back but the parameter seems to be
ignored. We searched and found a document at
http://groups.google.com/group/twitter-development-talk/browse_thread/thread/62593c095d8c240a?pli=1
suggesting that count may only be supported for firehose, though we
are not getting HTTP status 416 like that guy did. The wiki page at
http://apiwiki.twitter.com/Streaming-API-Documentation still seems to
say count is supported. Can you please clarify whether the count
parameter is respected in statuses/filter method?
Thanks,
Tony Bruni
Alacra Inc.

John Kalucki

unread,
Nov 16, 2009, 2:25:15 PM11/16/09
to Twitter Development Talk
Anthony,

The count parameter isn't enabled on the default access level, on any
sampled stream or any elevated track role. So, that leaves the
firehose and follow methods.

-John Kalucki
http://twitter.com/jkalucki
Services, Twitter Inc.



On Nov 12, 11:25 am, Anthony Bruni <anthonybr...@gmail.com> wrote:
> We have a Shadow client using thestreamingAPIinvokingstatuses/filtermethod.  We are trying to use thecountparameterto implement
> "catch-up" logic for recovering from lost connectivity.  Withcount
> specified, we get a 200 OK back but theparameterseems to be
> ignored.  We searched and found a document athttp://groups.google.com/group/twitter-development-talk/browse_thread...
> suggesting thatcountmay only be supported for firehose, though we
> are not getting HTTP status 416 like that guy did.  The wiki page athttp://apiwiki.twitter.com/Streaming-API-Documentationstill seems to
> saycountis supported.  Can you please clarify whether thecountparameteris respected instatuses/filtermethod?
Reply all
Reply to author
Forward
0 new messages