Skip to content

fukayatsu/lita-twitter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 ( https://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

About

A Twitter adapter for the Lita chat robot.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages