UNPKG

runnerty-notificator-twitter

Version:
42 lines (28 loc) 898 B
A simple twitter notificator for [Runnerty] # Instalation ```bash $ npm install runnerty-notificator-twitter ``` # Configuration Add the notificator definition in your conf.json. You need the access tokens from your [Twitter Application] ```json { "id": "twitter_default", "type": "runnerty-notificator-twitter", "consumer_key": "O1cZt3peZnZbszTt5Du63idzG", "consumer_secret": "XBEiHh3O4Az0CWUGGB4ezwdBtbSgomWZcFtpffXv0syShPYvY7", "access_token_key": "8435769633-ga0wdGOgZtq82j9Kv6jOgDfvKSKNvUCqUUJ18d5", "access_token_secret": "lo5HACStUVsYy63eO4PlhL8mkAd4RhXbB7ehBzjM6RVcX" } ``` # Usage Define in your process' events the message you want to send ![info notification on console](http://i.imgur.com/4I5pyZv.png) ```json { "id":"twitter_default", "tweet":"#runnerty sent this!" } ``` [Runnerty]: http://www.runnerty.io [Twitter Application]: https://apps.twitter.com/