Skip to content

Real-time statistics calculated from Twitter's streaming API

License

Notifications You must be signed in to change notification settings

PipocaQuemada/twitterStats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

twitterStats

Real-time statistics calculated from Twitter's streaming API

Setting up the Environment

You'll need to add the environment variables OAUTH_CONSUMER_KEY, OAUTH_CONSUMER_SECRET, OAUTH_ACCESS_TOKEN, and OAUTH_ACCESS_SECRET before running. You can get those values by creating a new twitter application at https://apps.twitter.com/, and generating application tokens for it.

Building & Running

To build and run using Cabal's nix-style local builds, just:

bash$ cabal new-build
bash$ ./dist-newstyle/build/twitterStats-0.1.0.0/build/twitterStats/twitterStats +RTS -N4

-N tells GHC how many threads to create, and should generally be set to be at most the number of cores your machine has.

It will print the statistics to the command line every 5 seconds.

About

Real-time statistics calculated from Twitter's streaming API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published