Skip to content

amZotti/TweetTracker.rb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview:

TweetTracker enables users to detect tweets by keywords in any city they want to. TweetTracker records all tweets by city and compares and allows users to compare tweet data. The city and keywords to detect can be specified in the db/seed.rb file.

Mechanics

TweetTracker uses the Twitter API to listen to tweets from whatever cities are specified in the seeds.rb file. TweetTracker does this by creating a new thread for every city included and dedicating that thread to listening for tweets from that respective city using Twitter API. All tweets detected are then filtered for the keywords specified in the seeds.rb file. For every time a keyword is present in a tweet the count of that keyword is incremented in Redis.

How to run

  1. redis-serve
  2. rake db:create db:migrate db:seed
  3. rails s
  4. rake twitter:stream

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published