Skip to content

Instantly share code, notes, and snippets.

@kmcelwee
Created March 22, 2021 19:12
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 kmcelwee/f447b4b51862f67e036d24cd5f829ca3 to your computer and use it in GitHub Desktop.
Save kmcelwee/f447b4b51862f67e036d24cd5f829ca3 to your computer and use it in GitHub Desktop.
A tweet that is a reply, but has `in_reply_to_status_id` null because the original user deleted their tweet. (Twitter Dev conversation: https://twittercommunity.com/t/the-commonly-described-ways-of-determining-whether-a-tweet-is-a-reply-seem-wrong/151579)
{
"created_at": "Wed Nov 18 19:02:24 +0000 2020",
"id": 1329137902199005184,
"id_str": "1329137902199005184",
"full_text": "@2legit2dunk https://t.co/4lx6Z4wqAp",
"truncated": false,
"display_text_range": [
13,
36
],
"entities": {
"hashtags": [],
"symbols": [],
"user_mentions": [],
"urls": [
{
"url": "https://t.co/4lx6Z4wqAp",
"expanded_url": "https://twitter.com/dog_feelings/status/1131314368052776961?s=21",
"display_url": "twitter.com/dog_feelings/s\u2026",
"indices": [
13,
36
]
}
]
},
"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": {
"id": 846137120209190912,
"id_str": "846137120209190912",
"name": "Thoughts of Dog\u00ae",
"screen_name": "dog_feelings",
"location": "",
"description": "\u00a8\u032e",
"url": "https://t.co/jI9euJCWWZ",
"entities": {
"url": {
"urls": [
{
"url": "https://t.co/jI9euJCWWZ",
"expanded_url": "http://thoughtsofdog.com",
"display_url": "thoughtsofdog.com",
"indices": [
0,
23
]
}
]
},
"description": {
"urls": []
}
},
"protected": false,
"followers_count": 3561133,
"friends_count": 3,
"listed_count": 4586,
"created_at": "Sun Mar 26 23:09:44 +0000 2017",
"favourites_count": 2875,
"utc_offset": null,
"time_zone": null,
"geo_enabled": false,
"verified": true,
"statuses_count": 1129,
"lang": null,
"contributors_enabled": false,
"is_translator": false,
"is_translation_enabled": false,
"profile_background_color": "F5F8FA",
"profile_background_image_url": null,
"profile_background_image_url_https": null,
"profile_background_tile": false,
"profile_image_url": "http://pbs.twimg.com/profile_images/1046968391389589507/_0r5bQLl_normal.jpg",
"profile_image_url_https": "https://pbs.twimg.com/profile_images/1046968391389589507/_0r5bQLl_normal.jpg",
"profile_banner_url": "https://pbs.twimg.com/profile_banners/846137120209190912/1609732293",
"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": null,
"follow_request_sent": null,
"notifications": null,
"translator_type": "none"
},
"geo": null,
"coordinates": null,
"place": null,
"contributors": null,
"is_quote_status": true,
"quoted_status_id": 1131314368052776961,
"quoted_status_id_str": "1131314368052776961",
"quoted_status_permalink": {
"url": "https://t.co/4lx6Z4wqAp",
"expanded": "https://twitter.com/dog_feelings/status/1131314368052776961?s=21",
"display": "twitter.com/dog_feelings/s\u2026"
},
"quoted_status": {
"created_at": "Wed May 22 21:42:18 +0000 2019",
"id": 1131314368052776961,
"id_str": "1131314368052776961",
"full_text": "i was playing with my stuffed fren sebastian. when his arm fell all the way off. there\u2019s no need to worry. because among many other things. my human is a surgeon",
"truncated": false,
"display_text_range": [
0,
161
],
"entities": {
"hashtags": [],
"symbols": [],
"user_mentions": [],
"urls": []
},
"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": {
"id": 846137120209190912,
"id_str": "846137120209190912",
"name": "Thoughts of Dog\u00ae",
"screen_name": "dog_feelings",
"location": "",
"description": "\u00a8\u032e",
"url": "https://t.co/jI9euJCWWZ",
"entities": {
"url": {
"urls": [
{
"url": "https://t.co/jI9euJCWWZ",
"expanded_url": "http://thoughtsofdog.com",
"display_url": "thoughtsofdog.com",
"indices": [
0,
23
]
}
]
},
"description": {
"urls": []
}
},
"protected": false,
"followers_count": 3561133,
"friends_count": 3,
"listed_count": 4586,
"created_at": "Sun Mar 26 23:09:44 +0000 2017",
"favourites_count": 2875,
"utc_offset": null,
"time_zone": null,
"geo_enabled": false,
"verified": true,
"statuses_count": 1129,
"lang": null,
"contributors_enabled": false,
"is_translator": false,
"is_translation_enabled": false,
"profile_background_color": "F5F8FA",
"profile_background_image_url": null,
"profile_background_image_url_https": null,
"profile_background_tile": false,
"profile_image_url": "http://pbs.twimg.com/profile_images/1046968391389589507/_0r5bQLl_normal.jpg",
"profile_image_url_https": "https://pbs.twimg.com/profile_images/1046968391389589507/_0r5bQLl_normal.jpg",
"profile_banner_url": "https://pbs.twimg.com/profile_banners/846137120209190912/1609732293",
"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": null,
"follow_request_sent": null,
"notifications": null,
"translator_type": "none"
},
"geo": null,
"coordinates": null,
"place": null,
"contributors": null,
"is_quote_status": false,
"retweet_count": 11912,
"favorite_count": 150434,
"favorited": false,
"retweeted": false,
"lang": "en"
},
"retweet_count": 12,
"favorite_count": 1963,
"favorited": false,
"retweeted": false,
"possibly_sensitive": false,
"lang": "und"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment