Skip to content

A twitter bot to parody the hoards of silly men who wondered why International Women's Day wasn't all about them.

License

Notifications You must be signed in to change notification settings

richardwestenra/mensdaybot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Twitter 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/rfreebern/simple-twitter-bot.git && cd simple-twitter-bot && npm install
  2. Create an application on http://dev.twitter.com
  3. Generate the necessary tokens: https://apps.twitter.com/
  4. Copy config.js-dist to config.js
  5. Put your tokens in .env
  6. Put some keywords for your bot to follow in the keywords array in config.js bot.js
  7. Add whatever logic you want to the valid and response functions in config.js
  8. Install Heroku Foreman.
  9. Run node bot.js > output.log & foreman start web

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

About

A twitter bot to parody the hoards of silly men who wondered why International Women's Day wasn't all about them.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published