Skip to content

Instantly share code, notes, and snippets.

@justinlittman
Created December 13, 2017 14:52
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 justinlittman/219f21f3cf9d763405985875c7802048 to your computer and use it in GitHub Desktop.
Save justinlittman/219f21f3cf9d763405985875c7802048 to your computer and use it in GitHub Desktop.
Sample tweet
{
"created_at": "Tue Dec 12 16:09:39 +0000 2017",
"id": 940614634163327000,
"id_str": "940614634163326976",
"full_text": "Here's the tools I talked about at #BlackDigArchive tools demo: @SocialFeedMgr https://t.co/IO9lrkXWMT, TweetSets https://t.co/zbiMpkEB5X, F(b)arc https://t.co/umpXwip3sm",
"truncated": false,
"display_text_range": [
0,
170
],
"entities": {
"hashtags": [
{
"text": "BlackDigArchive",
"indices": [
35,
51
]
}
],
"symbols": [],
"user_mentions": [
{
"screen_name": "SocialFeedMgr",
"name": "Social Feed Manager",
"id": 713856598079316000,
"id_str": "713856598079315968",
"indices": [
64,
78
]
}
],
"urls": [
{
"url": "https://t.co/IO9lrkXWMT",
"expanded_url": "http://go.gwu.edu/sfm",
"display_url": "go.gwu.edu/sfm",
"indices": [
79,
102
]
},
{
"url": "https://t.co/zbiMpkEB5X",
"expanded_url": "https://tweetsets.library.gwu.edu/",
"display_url": "tweetsets.library.gwu.edu",
"indices": [
114,
137
]
},
{
"url": "https://t.co/umpXwip3sm",
"expanded_url": "https://github.com/justinlittman/fbarc",
"display_url": "github.com/justinlittman/…",
"indices": [
147,
170
]
}
]
},
"source": "<a href=\"http://twitter.com\" rel=\"nofollow\">Twitter Web Client</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": {
"id": 481186914,
"id_str": "481186914",
"name": "Justin Littman",
"screen_name": "justin_littman",
"location": "Washington, DC",
"description": "Software developer / librarian at George Washington University Libraries. See also https://t.co/ohUfFQFrLL, https://t.co/1k3UAIarPc.",
"url": null,
"entities": {
"description": {
"urls": [
{
"url": "https://t.co/ohUfFQFrLL",
"expanded_url": "https://github.com/justinlittman",
"display_url": "github.com/justinlittman",
"indices": [
83,
106
]
},
{
"url": "https://t.co/1k3UAIarPc",
"expanded_url": "https://orcid.org/0000-0003-1527-0030",
"display_url": "orcid.org/0000-0003-1527…",
"indices": [
108,
131
]
}
]
}
},
"protected": false,
"followers_count": 359,
"friends_count": 132,
"listed_count": 18,
"created_at": "Thu Feb 02 12:19:18 +0000 2012",
"favourites_count": 542,
"utc_offset": -18000,
"time_zone": "Eastern Time (US & Canada)",
"geo_enabled": true,
"verified": false,
"statuses_count": 1296,
"lang": "en",
"contributors_enabled": false,
"is_translator": false,
"is_translation_enabled": false,
"profile_background_color": "C0DEED",
"profile_background_image_url": "http://abs.twimg.com/images/themes/theme1/bg.png",
"profile_background_image_url_https": "https://abs.twimg.com/images/themes/theme1/bg.png",
"profile_background_tile": false,
"profile_image_url": "http://pbs.twimg.com/profile_images/496478011533713408/GjecBUNj_normal.jpeg",
"profile_image_url_https": "https://pbs.twimg.com/profile_images/496478011533713408/GjecBUNj_normal.jpeg",
"profile_banner_url": "https://pbs.twimg.com/profile_banners/481186914/1460820528",
"profile_link_color": "1DA1F2",
"profile_sidebar_border_color": "C0DEED",
"profile_sidebar_fill_color": "DDEEF6",
"profile_text_color": "333333",
"profile_use_background_image": true,
"has_extended_profile": false,
"default_profile": true,
"default_profile_image": false,
"following": false,
"follow_request_sent": false,
"notifications": false,
"translator_type": "none"
},
"geo": null,
"coordinates": null,
"place": {
"id": "01fbe706f872cb32",
"url": "https://api.twitter.com/1.1/geo/id/01fbe706f872cb32.json",
"place_type": "city",
"name": "Washington",
"full_name": "Washington, DC",
"country_code": "US",
"country": "United States",
"contained_within": [],
"bounding_box": {
"type": "Polygon",
"coordinates": [
[
[
-77.119401,
38.801826
],
[
-76.909396,
38.801826
],
[
-76.909396,
38.9953797
],
[
-77.119401,
38.9953797
]
]
]
},
"attributes": {}
},
"contributors": null,
"is_quote_status": false,
"retweet_count": 4,
"favorite_count": 8,
"favorited": false,
"retweeted": false,
"possibly_sensitive": false,
"lang": "en"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment