simongregory / snifter

Scraping twitter for problems

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Snifter

Build Status Dependency Status Code Climate

Maybe twitter could be used to monitor user feedback in a useful way...

Install

Only known to work on Ruby 1.9.3

gem install snifter --pre

OR

git clone [this repo]
cd snifter
bundle install
gem build snifter.gemspec
gem install snifter

Setup

This bit is clunky, but Twitter requires both application and user credentials to use to it's API. To create them go to:

https://dev.twitter.com/apps

and click on 'Create a new application', name it etc. Once complete copy the tokens into the credentials.yml file.

If you build and install the gem then the snifter tool expects a valid credentials file in your $HOME directory named .snifter. You can copy the credentials.yml there. It's probably best to then chmod the file so only you have read access

chmod 600 ~/.snifter

Use

Try it with

snifter
snifter 4od

And you should see something like:

Terminal Screen Shot

License

Released under the MIT License. Please see the accompanying LICENSE document for details.

About

Scraping twitter for problems

License:MIT License


Languages

Language:Ruby 100.0%