Skip to content

simple express app that streams in a sample of tweets and analyzes their sentiment

Notifications You must be signed in to change notification settings

joshfermin/twitterstream

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

twitterstream

Simple express app that streams in a sample of live tweets, these tweets are then run through a 3rd party sentiment analysis library and given a score Implemented using Node.js and Express.

To Run:

Add a file named ".env" that contains your twitter API keys in the root directory. It should be in the following format:

TWITTER_CONSUMER_KEY=xxxx
TWITTER_SECRET_KEY=xxxx
TWITTER_ACCESS_TOKEN=xxxx
TWITTER_ACCESS_KEY=xxxx

Install dependencies:

npm install

Start server and you should see incoming tweets and their sentiment analysis printing to the console.

npm start

About

simple express app that streams in a sample of tweets and analyzes their sentiment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published