简体   繁体   English

Twitter4J获得最新推文

[英]Twitter4J get latest tweets

How do I get the latest tweets on twitter? 如何获得Twitter上的最新推文? I realise Search exists but it wont take a blank query. 我意识到Search存在,但不会出现空白查询。 Basically, I just want to get recent tweets from anywhere with any content. 基本上,我只想从任何地方获取任何内容的最新推文。 How can I do this? 我怎样才能做到这一点?

Did you take a look at the streaming API ? 您是否看过流式API With the sample function, you don't have to provide any criteria and will get a samples of all tweets. 使用sample功能,您无需提供任何条件,即可获得所有推文的示例。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM