Skip to content

Latest commit

 

History

History
20 lines (17 loc) · 446 Bytes

README.md

File metadata and controls

20 lines (17 loc) · 446 Bytes

twitter-draw

Node script to pick up a random tweet

Configuration

In order to use this script, you must provide the credentials to use the Twitter API. Create a file named config.js with the following object:

module.exports = {
  consumerKey: 'yourConsumerKey',
  consumerSecret: 'yourConsumerSecret',
  accessToken: 'yourAccessToken',
  accessTokenSecret: 'yourAccessTokenSecret'
}

Run script

$ npm install
$ npm start