Skip to content

Instantly share code, notes, and snippets.

@ChronSyn
Created September 28, 2020 20:38
Show Gist options
  • Save ChronSyn/f215c96aedfd56b2d7085f4b0f1f4b02 to your computer and use it in GitHub Desktop.
Save ChronSyn/f215c96aedfd56b2d7085f4b0f1f4b02 to your computer and use it in GitHub Desktop.
Sample twitter response when using tweet_mode 'extended'
{
"created_at": "Mon Sep 28 17:45:17 +0000 2020",
"id": 1310636714604605400,
"id_str": "1310636714604605443",
"full_text": "⚠️NEW: #NewCrossGate - Disruption between New Cross Gate and West Croydon / Crystal Palace expected until 18:00.\n\nℹ️ More details: https://t.co/mpz2NA2KBY",
"truncated": false,
"display_text_range": [
0,
154
],
"entities": {
"hashtags": [
{
"text": "NewCrossGate",
"indices": [
7,
20
]
}
],
"symbols": [],
"user_mentions": [],
"urls": [
{
"url": "https://t.co/mpz2NA2KBY",
"expanded_url": "http://nationalrail.co.uk/service_disruptions/256880.aspx",
"display_url": "nationalrail.co.uk/service_disrup…",
"indices": [
131,
154
]
}
]
},
"source": "<a href=\"https://mobile.twitter.com\" rel=\"nofollow\">Twitter Web App</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": 33546465,
"id_str": "33546465",
"name": "National Rail",
"screen_name": "nationalrailenq",
"location": "Great Britain",
"description": "24/7 support across the National Rail network. Real time updates and advice on services provided. All DMs deleted after 30 days of conversation ending.",
"url": "https://t.co/FyIA4JtsSx",
"entities": {
"url": {
"urls": [
{
"url": "https://t.co/FyIA4JtsSx",
"expanded_url": "https://bit.ly/2X0Uy2o",
"display_url": "bit.ly/2X0Uy2o",
"indices": [
0,
23
]
}
]
},
"description": {
"urls": []
}
},
"protected": false,
"followers_count": 1075887,
"friends_count": 335,
"listed_count": 2881,
"created_at": "Mon Apr 20 15:19:41 +0000 2009",
"favourites_count": 4486,
"utc_offset": null,
"time_zone": null,
"geo_enabled": false,
"verified": true,
"statuses_count": 618171,
"lang": null,
"contributors_enabled": false,
"is_translator": false,
"is_translation_enabled": false,
"profile_background_color": "003366",
"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/1302313264517451776/9J2bfhiu_normal.png",
"profile_image_url_https": "https://pbs.twimg.com/profile_images/1302313264517451776/9J2bfhiu_normal.png",
"profile_banner_url": "https://pbs.twimg.com/profile_banners/33546465/1599208726",
"profile_link_color": "003366",
"profile_sidebar_border_color": "FFFFFF",
"profile_sidebar_fill_color": "DDEEF6",
"profile_text_color": "333333",
"profile_use_background_image": false,
"has_extended_profile": false,
"default_profile": false,
"default_profile_image": false,
"following": true,
"follow_request_sent": false,
"notifications": false,
"translator_type": "none"
},
"geo": null,
"coordinates": null,
"place": null,
"contributors": null,
"is_quote_status": false,
"retweet_count": 1,
"favorite_count": 3,
"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