Skip to content

Instantly share code, notes, and snippets.

@elainechan
Created January 16, 2018 00:15
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/349fba44da8b0c535f55b8ae3f4d3091 to your computer and use it in GitHub Desktop.
Save elainechan/349fba44da8b0c535f55b8ae3f4d3091 to your computer and use it in GitHub Desktop.
A data object returned in a Twitter API search using the Node Twitter library, demonstrating a retweet.
{ statuses:
[{ created_at: 'Mon Jan 15 23:48:46 +0000 2018',
id: 953051362954276900,
id_str: '953051362954276866',
full_text: 'RT @FreddieJulee: TO ALL OF THE SHITHOLE COUNTRIES! #donaldtrump #trump #maga #haitian #african #blackpower#WyclefJean #shitholecountries…',
truncated: false,
display_text_range: [Object],
entities: [Object],
metadata: [Object],
source: '<a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>',
in_reply_to_status_id: null,
in_reply_to_status_id_str: null,
in_reply_to_user_id: null,
in_reply_to_user_id_str: null,
in_reply_to_screen_name: null,
user: [Object],
geo: null,
coordinates: null,
place: null,
contributors: null,
retweeted_status: [Object],
is_quote_status: false,
retweet_count: 2,
favorite_count: 0,
favorited: false,
retweeted: false,
lang: 'en' }]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment