Live data from Hacker News

Ask HN: How can I build a Twitter bot that tweets my past tweets?

news.ycombinator.com

1–5 of 5 posts

Re: Ask HN: How can I build a Twitter bot that tweets my past tweets?

#3
You can use the Twitter API. Get a list of all tweets, store them to a database/flat file, then randomly tweet each one using a SQL select. That's how I'd do it. The reason for the database/flat file is because sometimes you may have more tweets than the API can pull.

Re: Ask HN: How can I build a Twitter bot that tweets my past tweets?

#4

You can use the Twitter API. Get a list of all tweets, store them to a database/flat file, then randomly tweet each one using a SQL select. That's how I'd do it. The reason for the database/flat file is because sometimes you may have more tweets than the API can pull.

They could also download their Twitter archive which is just a csv https://help.twitter.com/en/managing-your-account/how-to-dow...