One news bot for Bluesky and X, and why X gets only five posts a day
X charges $0.200 for every post that contains a URL. Bluesky charges nothing. That one line from the X pricing page decides the shape of a twitter news bot in Python in 2026: it posts every story to Bluesky and only the best few to X, and "best" has to be a number the script can check. We built that bot for one industry feed, measured the feed for a day, and ran the script on a 30-minute GitHub…
X, a social media platform, charges $0.200 for every post that includes a URL. In contrast, Bluesky, another platform, does not charge for any posts. This pricing difference impacts the strategy for a Python news bot designed to post industry stories to the platforms. To create this bot, developers build a script that pulls in fresh articles from a news API, filters out duplicate stories, and then publishes the remaining stories to both Bluesky and X in a scheduled manner.
The script, named bot.py, is run via GitHub Actions, executing every 30 minutes to keep the content up-to-date. The bot's primary goal is to maximize revenue by posting only the most relevant articles, with the number of posts to X determined by a ranking system based on the OpenPageRank (OPR) score of the article's source.
Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.