twitter-webhook-flock
v0.0.6
Published
Search Twitter keyword and post it back via webhooks
Downloads
9
Maintainers
Readme
twitter-web-hook-node
Installation
$ npm install --save twitter-webhook-flock
Usage
var twitterWebHook = require('twitter-webhook-flock');
var loginKeys = {
consumerKey: <twitter.Consumer Key >
consumerSecret: <twitter.Consumer Secret>
accessToken: <twitter.Access Token>
accessTokenSecret: <twitter.Access Token Secret>
};
var flockPostUrl = <Incoming webhook URL >;
var keyword = 'flockchat';
var postInternval = 60*60*1000; // defaults to 24 hrs if not specified
var T = new twitterWebHook(loginKeys, flockPostUrl, keyword, postInterval);
T.startTwitterInterval()
License
MIT © Sukhmeet Singh