Another way to save your own tweets exactly as they are rendered on Twitter, with replies, using snscrape and SingleFile/cli:
-
TWEETER=someusername snscrape twitter-user ${TWEETER} | grep -o -P '\d+$' | sed -r 's,^,https://twitter.com/i/status/,g' > ${TWEETER}-tweets # write a URL list
- Make sure the oldest tweet in this list is in fact your oldest tweet, and that snscrape did not stop early due to Twitter Search problems.
- Merge in all the tweet URLs from your Twitter data export, to include retweets and Circle tweets:
cat data/tweets.js | sed -r 's/^window\.YTD\.tweets\.part0 = //' | jq -r '.[].tweet.id' | sed -r 's,^,https://twitter.com/i/status/,g' >> ${TWEETER}-tweets