Dear all !
I am new here and just wanted to know if I can get access the ‘how much’ a tweet has been retweeted - I don’t need who retweets but only the numbers of retweets ?
The idea is to extract/download tweets from a given time-period and analyze how much some of them have been retweeted,
Thank you !
You can request the public_metrics to get the counts: Metrics | Docs | Twitter Developer Platform
If you use twarc,
pip install --upgrade twarc twarc-csv
these are all requested for you, if you have a bunch of tweet IDs, you can:
twarc2 hydrate ids.txt tweets.jsonl
twarc2 csv tweets.jsonl tweets.csv
Yes thank you ! Have a nice evening !
1 Like