Skip to content

Instantly share code, notes, and snippets.

@ping
Created September 20, 2016 07:42
Show Gist options
  • Save ping/74f9815367c0dbd3e0bff68298837046 to your computer and use it in GitHub Desktop.
Save ping/74f9815367c0dbd3e0bff68298837046 to your computer and use it in GitHub Desktop.
Twitter json samples for extended tweet rollout
{
"contributors": null,
"truncated": true,
"text": "Say more about what's happening! Rolling out now: photos, videos, GIFs, polls, and Quote Tweets no longer count tow\u2026 https://t.co/SRmsuks2ru",
"is_quote_status": false,
"in_reply_to_status_id": null,
"id": 777915304261193728,
"favorite_count": 13856,
"source": "<a href=\"http://twitter.com\" rel=\"nofollow\">Twitter Web Client</a>",
"retweeted": false,
"coordinates": null,
"entities": {
"symbols": [],
"user_mentions": [],
"hashtags": [],
"urls": [
{
"url": "https://t.co/SRmsuks2ru",
"indices": [
117,
140
],
"expanded_url": "https://twitter.com/i/web/status/777915304261193728",
"display_url": "twitter.com/i/web/status/7\u2026"
}
]
},
"in_reply_to_screen_name": null,
"in_reply_to_user_id": null,
"retweet_count": 14767,
"id_str": "777915304261193728",
"favorited": false,
"user": {
"follow_request_sent": false,
"has_extended_profile": false,
"profile_use_background_image": true,
"default_profile_image": false,
"id": 783214,
"profile_background_image_url_https": "https://pbs.twimg.com/profile_background_images/657090062/l1uqey5sy82r9ijhke1i.png",
"verified": true,
"profile_text_color": "333333",
"profile_image_url_https": "https://pbs.twimg.com/profile_images/767879603977191425/29zfZY6I_normal.jpg",
"profile_sidebar_fill_color": "F6F6F6",
"entities": {
"url": {
"urls": [
{
"url": "http://t.co/5iRhy7wTgu",
"indices": [
0,
22
],
"expanded_url": "http://blog.twitter.com/",
"display_url": "blog.twitter.com"
}
]
},
"description": {
"urls": [
{
"url": "https://t.co/qq1HEzvnrA",
"indices": [
84,
107
],
"expanded_url": "http://support.twitter.com",
"display_url": "support.twitter.com"
}
]
}
},
"followers_count": 56827498,
"profile_sidebar_border_color": "FFFFFF",
"id_str": "783214",
"profile_background_color": "ACDED6",
"listed_count": 90445,
"is_translation_enabled": false,
"utc_offset": -25200,
"statuses_count": 3161,
"description": "Your official source for news, updates and tips from Twitter, Inc. Need help? Visit https://t.co/qq1HEzvnrA.",
"friends_count": 145,
"location": "San Francisco, CA",
"profile_link_color": "226699",
"profile_image_url": "http://pbs.twimg.com/profile_images/767879603977191425/29zfZY6I_normal.jpg",
"following": false,
"geo_enabled": true,
"profile_banner_url": "https://pbs.twimg.com/profile_banners/783214/1471929200",
"profile_background_image_url": "http://pbs.twimg.com/profile_background_images/657090062/l1uqey5sy82r9ijhke1i.png",
"screen_name": "twitter",
"lang": "en",
"profile_background_tile": true,
"favourites_count": 2332,
"name": "Twitter",
"notifications": false,
"url": "http://t.co/5iRhy7wTgu",
"created_at": "Tue Feb 20 14:35:54 +0000 2007",
"contributors_enabled": false,
"time_zone": "Pacific Time (US & Canada)",
"protected": false,
"default_profile": false,
"is_translator": false
},
"geo": null,
"in_reply_to_user_id_str": null,
"possibly_sensitive": false,
"possibly_sensitive_appealable": false,
"lang": "en",
"created_at": "Mon Sep 19 17:00:36 +0000 2016",
"in_reply_to_status_id_str": null,
"place": null
}
{
"contributors": null,
"truncated": false,
"is_quote_status": false,
"in_reply_to_status_id": null,
"id": 777915304261193728,
"favorite_count": 13856,
"full_text": "Say more about what's happening! Rolling out now: photos, videos, GIFs, polls, and Quote Tweets no longer count toward your 140 characters. https://t.co/I9pUC0NdZC",
"source": "<a href=\"http://twitter.com\" rel=\"nofollow\">Twitter Web Client</a>",
"retweeted": false,
"coordinates": null,
"entities": {
"symbols": [],
"user_mentions": [],
"hashtags": [],
"urls": [],
"media": [
{
"expanded_url": "https://twitter.com/twitter/status/777915304261193728/photo/1",
"display_url": "pic.twitter.com/I9pUC0NdZC",
"url": "https://t.co/I9pUC0NdZC",
"media_url_https": "https://pbs.twimg.com/tweet_video_thumb/Csu1TzEVMAAAEv7.jpg",
"id_str": "777914712382058496",
"sizes": {
"small": {
"h": 340,
"resize": "fit",
"w": 340
},
"large": {
"h": 700,
"resize": "fit",
"w": 700
},
"medium": {
"h": 600,
"resize": "fit",
"w": 600
},
"thumb": {
"h": 150,
"resize": "crop",
"w": 150
}
},
"indices": [
140,
163
],
"type": "photo",
"id": 777914712382058496,
"media_url": "http://pbs.twimg.com/tweet_video_thumb/Csu1TzEVMAAAEv7.jpg"
}
]
},
"in_reply_to_screen_name": null,
"in_reply_to_user_id": null,
"display_text_range": [
0,
139
],
"retweet_count": 14767,
"id_str": "777915304261193728",
"favorited": false,
"user": {
"follow_request_sent": false,
"has_extended_profile": false,
"profile_use_background_image": true,
"default_profile_image": false,
"id": 783214,
"profile_background_image_url_https": "https://pbs.twimg.com/profile_background_images/657090062/l1uqey5sy82r9ijhke1i.png",
"verified": true,
"profile_text_color": "333333",
"profile_image_url_https": "https://pbs.twimg.com/profile_images/767879603977191425/29zfZY6I_normal.jpg",
"profile_sidebar_fill_color": "F6F6F6",
"entities": {
"url": {
"urls": [
{
"url": "http://t.co/5iRhy7wTgu",
"indices": [
0,
22
],
"expanded_url": "http://blog.twitter.com/",
"display_url": "blog.twitter.com"
}
]
},
"description": {
"urls": [
{
"url": "https://t.co/qq1HEzvnrA",
"indices": [
84,
107
],
"expanded_url": "http://support.twitter.com",
"display_url": "support.twitter.com"
}
]
}
},
"followers_count": 56827498,
"profile_sidebar_border_color": "FFFFFF",
"id_str": "783214",
"profile_background_color": "ACDED6",
"listed_count": 90445,
"is_translation_enabled": false,
"utc_offset": -25200,
"statuses_count": 3161,
"description": "Your official source for news, updates and tips from Twitter, Inc. Need help? Visit https://t.co/qq1HEzvnrA.",
"friends_count": 145,
"location": "San Francisco, CA",
"profile_link_color": "226699",
"profile_image_url": "http://pbs.twimg.com/profile_images/767879603977191425/29zfZY6I_normal.jpg",
"following": false,
"geo_enabled": true,
"profile_banner_url": "https://pbs.twimg.com/profile_banners/783214/1471929200",
"profile_background_image_url": "http://pbs.twimg.com/profile_background_images/657090062/l1uqey5sy82r9ijhke1i.png",
"screen_name": "twitter",
"lang": "en",
"profile_background_tile": true,
"favourites_count": 2332,
"name": "Twitter",
"notifications": false,
"url": "http://t.co/5iRhy7wTgu",
"created_at": "Tue Feb 20 14:35:54 +0000 2007",
"contributors_enabled": false,
"time_zone": "Pacific Time (US & Canada)",
"protected": false,
"default_profile": false,
"is_translator": false
},
"geo": null,
"in_reply_to_user_id_str": null,
"possibly_sensitive": false,
"possibly_sensitive_appealable": false,
"lang": "en",
"created_at": "Mon Sep 19 17:00:36 +0000 2016",
"in_reply_to_status_id_str": null,
"place": null,
"extended_entities": {
"media": [
{
"expanded_url": "https://twitter.com/twitter/status/777915304261193728/photo/1",
"display_url": "pic.twitter.com/I9pUC0NdZC",
"url": "https://t.co/I9pUC0NdZC",
"media_url_https": "https://pbs.twimg.com/tweet_video_thumb/Csu1TzEVMAAAEv7.jpg",
"video_info": {
"aspect_ratio": [
1,
1
],
"variants": [
{
"url": "https://pbs.twimg.com/tweet_video/Csu1TzEVMAAAEv7.mp4",
"bitrate": 0,
"content_type": "video/mp4"
}
]
},
"id_str": "777914712382058496",
"sizes": {
"small": {
"h": 340,
"resize": "fit",
"w": 340
},
"large": {
"h": 700,
"resize": "fit",
"w": 700
},
"medium": {
"h": 600,
"resize": "fit",
"w": 600
},
"thumb": {
"h": 150,
"resize": "crop",
"w": 150
}
},
"indices": [
140,
163
],
"type": "animated_gif",
"id": 777914712382058496,
"media_url": "http://pbs.twimg.com/tweet_video_thumb/Csu1TzEVMAAAEv7.jpg"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment