
- #XML RSS BOT MASTODON HOW TO#
- #XML RSS BOT MASTODON INSTALL#
- #XML RSS BOT MASTODON SOFTWARE#
- #XML RSS BOT MASTODON CODE#
- #XML RSS BOT MASTODON DOWNLOAD#
The name is what your users will see the bot as in their contacts list, and the username is how they’ll find it. I guess that proves what a great tool Telegram bots can be!Īfter giving the /newbot command, you get to pick a name and username for your bot. Since it’s your first time, you’ll want /newbot.Ĭompared to the process for building a Twitter bot, a Mastodon bot, or any other kind of bot I’ve experimented with, Telegram makes the initial setup super easy. You’ll see a list of commands that help you create, edit, and manage your bots. Give the start command to BotFather by typing /start. Inside your Telegram desktop app, you need to search his username and start a conversation with him.

Telegram bot creation is a novel process because much of it is centered around your own interactions with a Telegram bot. Time to grab that API key! Step 2: Chat with the BotFather to get your API key And, you’ll be able to copy and paste your Telegram bot’s API key straight into your text editor. This way, you can quickly test it without unlocking your phone every time. Telegram is predominantly a mobile app, but for development purposes you’re going to want to have it installed on the same machine you’re using for writing code.
#XML RSS BOT MASTODON DOWNLOAD#
Step 1: Download the Telegram app for desktop

#XML RSS BOT MASTODON CODE#
You could theoretically use Notepad or TextEdit, but most would recommend a purpose-built editor like Atom, which highlights syntax and helps makes code mistakes more obvious.
#XML RSS BOT MASTODON INSTALL#
Simply run gem install bundler in your terminal to install it. You’ll need it to add an interface to the Telegram API to your bot. Bundler helps manage Ruby gems, which add extra functionality to your apps. I personally use Homebrew on macOS, but Windows users can install it with this tool. Refer to Ruby’s official documentation for OS-specific guides. If you’re following this tutorial on a Windows machine that doesn’t have Windows 10’s Anniversary Update, you can use an emulator or emulate Linux in a virtual machine. This comes packaged with macOS and Linux, but not most installs of Windows.
#XML RSS BOT MASTODON HOW TO#
#XML RSS BOT MASTODON SOFTWARE#
With a basic grasp of coding and APIs, you can create genuinely useful software for fun and profit. I’m hardly a master programmer, and you don’t have to be either.

For example, this one that describes scary-sounding places by combining words at random, and this one that paints PNGs in block colors. That obsession fueled my first forays into code, and resulted in a ton of fun bots. I was fascinated by the idea that it is possible to write a program that behaves randomly - to me, that was already deep in the realms of sci-fi! I’ve been obsessed with science fiction since I was a young teen, so coding has always appealed to me.
