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
- Fork it ( http://github.com/fukayatsu/lita-twitter/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request