Skip to content

A Twitter hashtag listener that runs on NodeJS allowing the developer to run a shell script when a tweet with a particular hashtag appears in Twitter.

Notifications You must be signed in to change notification settings

will-newmarch/hashtag-listener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

hashtag-listener

A Twitter hashtag listener that runs on NodeJS.

This script allows a developer to run a shell script when a tweet with a particular hashtag appears in Twitter.


Setup

Run npm install

Create a Twitter application

  1. Visit the Twitter Developers Site.
  2. Sign in with your Twitter Account.
  3. Go to "My Applications".
  4. Create a New Application.
  5. Fill in your Application Details.
  6. Create Your Access Token.
  7. Fill in the setup parameters (the relative keys and secrets) in the index.js script.

Set hashtag and shell script

  1. Set the desired hashtag variable in the top of index.js.
  2. Add your shell command to the shellscript variable in the top of index.js.

Run

Run using node index.js.

About

A Twitter hashtag listener that runs on NodeJS allowing the developer to run a shell script when a tweet with a particular hashtag appears in Twitter.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published