This Python script shows the datetime and alt url of repost on someone's X individual timeline.
As is often the case with X, the data scheme changes without notice so there is no guarantee that the script works after the release of the script, Sep 1st 2024.
- Validated on Python 3.10.4
- Only standard libraries required
- Generate csv file
- open browser tab on PC
- press F12 to open developer console
- in the Filter form under Network tab, type "userTweets" (without quotes)
- move to someone's X home in the same browser tab e.g. https://x.com/elonmusk
- click one entry that starts with userTweets that appeared in Name section
- move to Response tab
- copy the text and save as userTweet.json on your local directory
- run repost_detector.py on the same directory
EXAMPLE