4.6: Mastodon Bot - Managing User Events

4,909 views · Published 11 October 2018 · 12:28 · Indexed 29 September 2026

Channel: The Coding Train · 2018 · Education

Watch on YouTube

In this video I cover user events (mentions, follows, favorites, reblogs, etc.) Code: https://thecodingtrain.com/tracks/mastodon/mastodon/managing-user-events

💻 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

Timestamps:
0:00 Listening for a mention events
1:11 Using a regular expression to respond to the content
2:17 Favorite the post
9:09 Reblog
10:12 Every action has an ID

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

More from this channel