Skip to content

Instantly share code, notes, and snippets.

@elainechan
Last active January 15, 2018 22:47
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/487689b2617de9147ef8cea826f0c816 to your computer and use it in GitHub Desktop.
Save elainechan/487689b2617de9147ef8cea826f0c816 to your computer and use it in GitHub Desktop.
A GET request to Twitter API with the Node Twitter library that returns tweet object(s).
client.get('search/tweets', params, (err, data) => {
if(err) throw err;
console.log(data);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment