Skip to content

Instantly share code, notes, and snippets.

@elainechan
Last active January 16, 2018 01:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save elainechan/96eecc58602dd752e23587370e3e1516 to your computer and use it in GitHub Desktop.
Save elainechan/96eecc58602dd752e23587370e3e1516 to your computer and use it in GitHub Desktop.
Initiate a new client to make a Twitter API call with the Node Twitter library.
const config = require('./config.js'); // Loads the authentication keys
const Twitter = require('twitter');
var client = new Twitter(config);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment