-2

I am attempting to track multiple keyword tweets from twitter. I am using twitter4j 3.0.5 as my third party API. But it always raised below error. Even though it doesn't capture any details.

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
Martin Tournoij
  • 26,737
  • 24
  • 105
  • 146
AnnRose
  • 81
  • 1
  • 1
  • 5

1 Answers1

1

You can instead use streaming API. This will not have any limitations. If the case you need to get old tweets, follow the answer given by Deniz Ozger in this link Is it possible to get more than 100 tweets?. It's working.

Community
  • 1
  • 1
Nikhitha Reddy
  • 285
  • 7
  • 19