-
-
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).
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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