Twitter ego-searching for hubot.
Installation
Install via npm.
$ cd /path/to/hubot
$ npm install --save hubot-twitter-egosearch
And add to external-scripts.json
.
$ cat external-scripts.json
["hubot-twitter-egosearch"]
Configuration
$ export HUBOT_TWITTER_EGOSEARCH_CONSUMER_KEY="twitter_consumer_key_here"
$ export HUBOT_TWITTER_EGOSEARCH_CONSUMER_SECRET="twitter_consumer_secret_here"
$ export HUBOT_TWITTER_EGOSEARCH_ACCESS_TOKEN="twitter_access_token_here"
$ export HUBOT_TWITTER_EGOSEARCH_ACCESS_TOKEN_SECRET="twitter_access_token_secret_here"
$ export HUBOT_TWITTER_EGOSEARCH_SHOW_DETAIL="true"
$ export HUBOT_TWITTER_EGOSEARCH_SEARCH_INTERVAL="1000 * 60 * 5"
Usage
human> hubot egosearch add hubot script
hubot> [13551] Now searching for hubot script
human> hubot egosearch rm 13551
hubot> Stopped searching for hubot script
human> hubot egosearch list
hubot> [13551] hubot script @room
hubot> [53595] some search word @room
human> hubot egosearch add "hubot-twitter-egosearch" -from:ttskch
hubot> [29107] Now searching for "hubot-twitter-egosearch" -from:ttskch