Skip to content

stefanbohacek/belongbot4000

Repository files navigation

BELONGBOT4000

Featured!

@belongbot4000 is a Twitter bot that scrapes belong.io (here's a bit about the site, credits go to Andy Baio) every 30 minutes (with the site's creator's approval) and looks for new tweets to retweet.

The account is set as private to avoid sending out notifications to retweeted users (unless they follow the bot).

As of February 2017, there is no way to approve follower requests for a protected account via the Twitter API, so you need to follow the bot and wait to be approved. (You can send the bot a DM to notify me.)

Technical stuff

This bot runs on node.js + ttezel/twit + cheeriojs/cheerio.

There may not be much of a point in running your own copy of this bot, you could just follow @belongbot4000, but this source code can serve as a basis for your own web scraping bot.

To run this bot:

  1. Rename config-example.js to config.js, add your Twitter API keys/secrets here.
  2. sudo npm install
  3. node belongbot4000.js

Enjoy!

Releases

No releases published

Packages

No packages published