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

4 points by tai_hn ↗ HN
I want to have something like [this account](https://twitter.com/NavalBot).

4 comments

[ 4.3 ms ] story [ 15.4 ms ] thread
I suggest you to use Chrome extensions. Use JavaScript to capture the buttons and create events for your specific actions. Use some async/await to create some delay between actions. I hope it helped. :D
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.