0

I am using twitter api with to get tweet when someone posts. It takes around 3-4 seconds to update. How can i make that faster to less then a second...

What are the recommendations regarding

1: Which server to use (Would it matter in this case)

2: Twitter API to use (Standard, Premium, Enterprise)

I would appreciate if you can recommend any other

1 Answers1

0

As mentionned in the documentation from twitter API, rates are limited in time, therefore, you cannot make the update faster or you will run out of calls to refresh what you are trying to search. See. https://developer.twitter.com/en/docs/basics/rate-limiting

  • I am using https://www.npmjs.com/package/twitter-lite for streaming. It gives ping every 1-2 seconds and get data when tweeted. I don't think it violates the rate limiting. Would account activity API would be faster. thanks! –  Jul 18 '20 at 15:33