A Twitter adapter for the Lita chat robot.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
.gitignore
Gemfile
LICENSE.txt
README.md
Rakefile
lita-twitter.gemspec

README.md

lita-twitter

lita-twitter is an adapter for Lita that allows you to use the robot with Twitter.

Installation

Add this line to your lita's Gemfile:

gem 'lita-twitter'

Usage

# Gemfile of your Lita

source "https://rubygems.org"

gem "lita-twitter"
...
# lita_config.rb

Lita.configure do |config|
  config.robot.name        = "your-bot-name"
  config.robot.log_level   = :info
  config.robot.adapter     = :twitter

  config.adapters.twitter.api_key             = "***"
  config.adapters.twitter.api_secret          = "***"
  config.adapters.twitter.access_token        = "***"
  config.adapters.twitter.access_token_secret = "***"
end

Contributing

  1. Fork it ( http://github.com/fukayatsu/lita-twitter/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 new Pull Request