Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 1.05 KB

README.md

File metadata and controls

28 lines (21 loc) · 1.05 KB

Simple Retweet Bot

This is a framework for creating simple Twitter bots in node. It uses the straightforward Twit library to access Twitter's streaming API.

Usage

  1. git clone https://github.com/michalkow/simple-retweet-bot.git && cd simple-retweet-bot && npm install
  2. Create an application on http://dev.twitter.com
  3. Generate the necessary tokens.
  4. Copy config.js-dist to config.js
  5. Put your tokens in config.js
  6. Put some keywords for your bot to follow in the keywords array in config.js
  7. Add whatever logic you want to the valid and response functions in config.js
  8. node bot.js > output.log &

What Uses It

License

To the extent possible under law, Ryan Freebern has waived all copyright and related or neighboring rights to this work. CC0