-
-
Save elainechan/e4f72aa87968c27ce00148dbb2dfefcd to your computer and use it in GitHub Desktop.
Parameters for Twitter API search call that returns complete, non-truncated tweets, using the Node Twitter library.
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
var params = { | |
q: '%23donaldtrump', // Hashtag | |
geocode: '40.7127837,-74.0059413,10mi', // New York City (latitude, longitude, radius) | |
count: 10, | |
result_type: 'recent', | |
lang: 'en', | |
truncated: false, | |
tweet_mode: 'extended', // Get tweets in extended mode | |
retweeted_status: // Get untruncated version of retweeted statuses | |
{ | |
truncated: false | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment