Home > database >  list of working methods to scrape 4y historical Twitter tweets from users in 2022
list of working methods to scrape 4y historical Twitter tweets from users in 2022

Time:04-11

It seems Twitter made lots of changes to API and Webapp so many methods that used to work in the past do not work anymore.

Which method does work as of today (April 2022) to scrape historical tweets from specific users at least the last 4 years?

CodePudding user response:

There is a python based library named twint. It's an un-official sdk for twitter public API. you won't require twitter developer account or any access token.

Twint can help you in getting previous tweets and with some advanced controls.

If you feel some rate restriction from twitter for a large number of tweets, try breaking your search into smaller chunks. Like, 10-10-2021 to 17-10-2021 (bi-weekly)

I have a sample github repo for that. Link

Hopefully, this can help!

  • Related