Java Twitter4j中的速率限制问题

Java Twitter4j中的速率限制问题,java,twitter,twitter4j,Java,Twitter,Twitter4j,我正在尝试跟踪来自twitter的多条关键字推文。我使用twitter4j 3.0.5作为我的第三方API。但它总是出现在错误之下。即使它没有捕捉到任何细节 2015-03-02 09:28:15.224 INFO 2859 --- [ing connection]] twitter4j.TwitterStreamImpl : 420:Returned by the Search and Trends API when you are being rate limit

我正在尝试跟踪来自twitter的多条关键字推文。我使用twitter4j 3.0.5作为我的第三方API。但它总是出现在错误之下。即使它没有捕捉到任何细节

2015-03-02 09:28:15.224  INFO 2859 --- [ing connection]] twitter4j.TwitterStreamImpl              : 420:Returned by the Search and Trends API when you are being rate limited (https://dev.twitter.com/docs/rate-limiting).
Returned by the Streaming API:
 Too many login attempts in a short period of time.
 Running too many copies of the same application authenticating with the same account name.
Exceeded connection limit for user

您可以改为使用流式API。这不会有任何限制。如果您需要获取旧推文,请按照此链接中Deniz Ozger给出的答案进行操作。它正在工作。

嗯,这个错误对我来说似乎是显而易见的。你的问题到底是什么?你希望我们对此做些什么?我需要收集多个关键字的推文。请显示代码