Tweetomator

Investigating the principal curvatures of the twittersphere.

Installation

Add this line to your application's Gemfile:

gem 'tweetomator'

And then execute:

$ bundle

Or install it yourself as:

$ gem install tweetomator

Usage

**Third-party API Keys required:

Create a new instance of each config class in config/config.rb

(name/type)

**TwitterConfig

  • consumer_key / String
  • consumer_secret / String
  • access_token / String
  • access_token_secret / String
  • username / String
  • tweet_max_length / int

**FlickrConfig

  • api_key / String
  • shared_secret / String

**TweetomatorConfig

  • twitter_config / TwitterConfig
  • flickr_config / FlickrConfig
  • topics / Array (String)
  • blacklist / Array (String)
  • stop_words / Array (String)
  • delay_in_seconds int

Create a new Tweetomator

e.g.

twitter_config = TwitterConfig.new([...]) flickr_config = FlickrConfig.new([...]) tweetomator_config = TweetomatorConfig.new(twitter, flickr, [...]) tweetomator = Tweetomator.new(tweetomator_config) tweetomator.run

Contributing

  1. Fork it ( https://github.com/[my-github-username]/tweetomator/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request