delete-tweets icon indicating copy to clipboard operation
delete-tweets copied to clipboard

Need to change Wait Value for new Twitter API

Open azu opened this issue 2 years ago • 0 comments

Need to change Wait Value for new Twitter API

https://github.com/azu/delete-tweets/blob/36e689ec53009331530867b8a3d3a640bbbf44b4/scripts/delete-tweets.ts#L104

Current Wait value:

  • 500ms

Twitter API v2 rate limits:

  • Free: 50 requests / 24 hours

We need to avoid this rate limit. So, New wait value should be: 1728sec (24 hours / 50 requests) 1800sec is safe value. 1800/60sec = 30min.

azu avatar Mar 30 '23 01:03 azu