Twitter4j TwitterStream doesn't get all tweets

主宰稳场 提交于 2019-11-30 14:41:53

I'm open to contradiction on this, but I believe it works like this...

Streaming API only gives a sample of tweets for non-partners. It's the "garden hose" as opposed to the "firehose" which a few Twitter partners get. But you can apply for full access.

.sample() gives this "garden hose". Your twitter account won't have access to the firehose, although I think there is a twitterStream for the firehose if you did have access.

Search for "statuses/sample" on this page for the specifics: https://dev.twitter.com/docs/streaming-api/methods

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!