开发者

Change Twitter stream filter keywords without re-opening stream

Is it possible to change the filter keywords on a Twitter stream while it's open?

I'm looking to follow the second point of the http://dev.twitter.com/pages/streaming_a开发者_运维问答pi pre-launch checklist, "Creating the minimal number of connections", and avoid closing and re-opening the stream each time the keywords I wish to follow change.


you can't change the filter predicate without reconnecting, but the streaming-api concepts page has instructions how change the predicates and making the user experience as smooth as possible


Official documentation says you cannot update the filter predicates; http://dev.twitter.com/pages/streaming_api_concepts#updating-filter-predicates

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜