4.5: Mastodon Bot - Streaming API
In this video, I explore the Mastodon streaming API to register user events. Code: https://thecodingtrain.com/tracks/mastodon/mastodon/streaming-api
๐ป 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
๐ Data and APIs in Javascript Track: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6YxDKpFzf_2D84p0cyk4T7X
Timestamps:
0:00 Listen to user events
1:35 Rules of the space
1:51 Create a listener
5:09 Acting on a "follow" event
6:39 Send reply message
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