/twitter-egosearch-slack

search on Twitter and notify with Slack

Primary LanguageRubyMIT LicenseMIT

Twitter EgoSearch Slack

search on Twitter and notify with Slack.com.

Requirements

  • Ruby 1.9.3~2.0.0
  • MongoDB 2.0

Install Dependencies

% gem install bundler
% bundle install

Setup

Twitter

twitter-egosearch-slack uses Tw to use Twitter API.

% tw --user:add
% tw --user:list

Slack

add slackbot integration and get token

config.yml

% cp sample.config.yml config.yml

Run

% MONGOID_ENV=development bundle exec ruby bin/egosearch.rb
% MONGOID_ENV=production bundle exec ruby bin/egosearch.rb