Graham Zemel's Logo

©

Graham Zemel 2022

projects / medium twitter bot

[

6/5/2023

]

For best experience, use a computer!

Medium Twitter Bot

Uploaded

PythonTelegramAutomation


A quick and fun automation bot that posts each new article from my publication, The Gray Area , onto Twitter. It requires no user interaction on my part, all I have to do is publish the article.

It utilizes Medium’s RSS feed, as it doesn’t have an official API. The RSS feed updates often enough that I can pull it every so often, check if the data is modified, and if it is, post the new article that was appended to the RSS feed.

Everything gets parsed into JSON using ‘rss2json’, and then it’s just figuring out how I want to post things like hashtags. It’s hosted on Heroku and you can view it on Twitter here .

It was a bunch of fun to program, and I love automation bots because they give you the means to accomplish more in a far shorter span of time, and strive for even greater accomplishments because of the time saved.

Here’s the Github source code , and the Medium article I published on it.

The Gray Area on Medium Twitter

Previous Project

This was a simple Python script for parsing data from hacked sites. Check out some hacking write-ups for vulnerabilities like IDORs, XSS, Broken Access Control, and more on The Gray Area !

Next Project

This website! Coded with frameworks and tools such as Svelte , Tailwind , and Mdsvex for markdown files. Its domain (grahamzemel.com) is provided by Hostinger .