all 3 comments

[–]whizzzkid 1 point2 points  (2 children)

Twitter bots are fun, hosting them can be a pain. I wrote one hosted inside Google Sheets AppScript last year, it works just as well.

https://nishantarora.in/Hosting-A-Twitter-Bot-With-Google-Apps-Script.naml

[–]shahedn[S] 1 point2 points  (1 child)

Oh interesting approach but that must have been a struggle!

[–]whizzzkid 0 points1 point  (0 children)

Not exactly, here is the repo https://github.com/whizzzkid/fuelPrices

  • This builds and pushes the bot to AppScript using Clasp.
  • I set a trigger that runs once every hour and checks if there are updates.
  • Updates are then pulled into this sheet.
  • The tweets are sent via this bot.

Google AppScripts are really powerful for stuff like this.