Get random tweet from @LOUDBOT

Get a random tweet from @LOUDBOT

export LOUD_CONFIG=config.js
loud = require('loudbot');

LOUD_CONFIG is an environment variable with the relative path to the config file. The file should look like:

'use strict';
module.exports = {
  consumer_key:         '',
  consumer_secret:      '',
  access_token:         '',
  access_token_secret:  ''

You get those keys after creating application on Twitter.
If you don't have a twitter application, create one here.

var loud = require('loudbot');

cb(err, tweet) is an optional callback. It fires with a random tweet as a string.

npm install loudbot
export LOUD_CONFIG=config.js
npm test