(sports + exclude:retweets)のようなキーワードを検索してtwitter4jを使用して公開ツイートを取得しようとすると、次のエラーが発生します。
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 acc
ount name.
{"error":"You have been rate limited. Enhance your calm."}
Relevant discussions can be found on the Internet at:
http://www.google.co.jp/search?q=d35baff5 or
http://www.google.co.jp/search?q=0877c84f
TwitterException{exceptionCode=[d35baff5-0877c84f], statusCode=420, retryAfter=51
1, rateLimitStatus=null, featureSpecificRateLimitStatus=null, version=2.2.6}
at twitter4j.internal.http.HttpClientImpl.request(HttpClientImpl.java:185
- Unable to search keyword = Query{query='sports OR +exclude:retweets', lang='n
ull', locale='null', maxId=-1, rpp=-1, page=15, since='null', sinceId=-1, geocode
='null', until='null', resultType='null'} You have been rate limited. Enhance your calm
検索操作だけをしているのに、なぜこれが表示されるのか教えてもらえますか?APIに何か問題がありますか?