Skip to content

Instantly share code, notes, and snippets.

@elainechan
Last active January 16, 2018 00:10
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/72059c94656be0cbf4543e87e6d6d620 to your computer and use it in GitHub Desktop.
Save elainechan/72059c94656be0cbf4543e87e6d6d620 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 truncated tweet.
{ statuses:
[ { created_at: 'Mon Jan 15 06:10:19 +0000 2018',
id: 952784997106139100,
id_str: '952784997106139137',
text: 'RT @amjoyshow: .@RepMaxineWaters on GOP colleagues: They cannot credibly come before the American public and defend #DonaldTrump. They’re a…',
truncated: false,
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: 1195,
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