4.4: Mastodon Bot - Posting with setInterval()

Subscribers:
1,740,000
Published on ● Video Link: https://www.youtube.com/watch?v=dHI3cUhNWRg



Duration: 11:42
6,294 views
156


Here I make some improvements to the Mastodon Bot example including using setInterval() to schedule posts. Code: https://thecodingtrain.com/tracks/mastodon/mastodon/posting-with-setInterval

๐Ÿ’ป Github Repo: https://github.com/CodingTrain/Mastodon-Bot

References:
๐Ÿฆ Mastodon: https://mastodon.social/about
๐Ÿค– Botsin.space server: https://botsin.space/about/more
๐Ÿ’ป Mastodon API on npm: https://www.npmjs.com/package/mastodon-api

Videos:
๐Ÿš‚ Mastodon Playlist: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6byiVX7_Z1rclitVhMBmNFQ
๐Ÿš‚ ES6 Arrow Syntax: https://youtu.be/mrYMzpbFz18

Timestamps:
0:00 Posting at set intervals
1:28 Use file system package
3:18 Template literals
4:40 Random number bot
7:00 Toot at regular intervals
8:50 Spoiler text

Editing by Mathieu Blanchette
Animations by Jason Heglund
Music from Epidemic Sound

๐Ÿš‚ Website: http://thecodingtrain.com/
๐Ÿ‘พ Share Your Creation! https://thecodingtrain.com/guides/passenger-showcase-guide
๐Ÿšฉ Suggest Topics: https://github.com/CodingTrain/Suggestion-Box
๐Ÿ’ก GitHub: https://github.com/CodingTrain
๐Ÿ’ฌ Discord: https://thecodingtrain.com/discord
๐Ÿ’– Membership: http://youtube.com/thecodingtrain/join
๐Ÿ›’ Store: https://standard.tv/codingtrain
๐Ÿ–‹๏ธ Twitter: https://twitter.com/thecodingtrain
๐Ÿ“ธ Instagram: https://www.instagram.com/the.coding.train/

๐ŸŽฅ Coding Challenges: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
๐ŸŽฅ Intro to Programming: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA

๐Ÿ”— p5.js: https://p5js.org
๐Ÿ”— p5.js Web Editor: https://editor.p5js.org/
๐Ÿ”— Processing: https://processing.org

๐Ÿ“„ Code of Conduct: https://github.com/CodingTrain/Code-of-Conduct

This description was auto-generated. If you see a problem, please open an issue: https://github.com/CodingTrain/thecodingtrain.com/issues/new

#mastodon #nodejs







Tags:
programming
daniel shiffman
tutorial
coding
the coding train
lissajous
coding challenge
coding train
creative coding
live stream
mastodon
mastodon bot
mastodon bot tutorial
social media bot
twitter bot
mastodon api
mastodon js
mastodon node
node bot
nodejs bot