Twitter4j中的速率限制问题

时间:2015-03-02 04:36:05

标签: 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 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

1 个答案:

答案 0 :(得分:1)

您可以使用流API。这没有任何限制。如果您需要获取旧推文,请按照此链接Is it possible to get more than 100 tweets? Deniz Ozger 给出的答案。它正在工作。