Hi, I am using the Twitter API V2 for academics. I am retrieving tweets on a certain topic since 2010. Sadly, I am all the time getting to my rate limit (the 15 minute rate limit) - is there a possibility to deal with this?

Thank you and Best,
Britta

I’d recommend using twarc entirely, but if you have to use your own code because of some special requirements, you can reuse the rate limit decorator twarc/decorators2.py at main · DocNow/twarc · GitHub it’s generic enough to use on its own.

Hi Igor,

Thanks - I started to use Twarc2 now and it seems to work pretty well for the 15 minute rate limit.

Thank you for the tip!
Britta

2 Likes