Skip to content

Instantly share code, notes, and snippets.

@naa0yama
Created October 5, 2017 02:49
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 naa0yama/765d41cc4d3418243bbe13fdf1a7cd4a to your computer and use it in GitHub Desktop.
Save naa0yama/765d41cc4d3418243bbe13fdf1a7cd4a to your computer and use it in GitHub Desktop.
Twitter API: Tweet data dictionaries
{
"created_at": "Wed Aug 27 13:08:45 +0000 2008",
"id": 114749583439036416,
"id_str": "114749583439036416",
"text": "Tweet Button, Follow Button, and Web Intents javascript now support SSL http://t.co/9fbA0oYy ^TS",
"source": "Twitter for Mac",
"truncated": true,
"in_reply_to_status_id": 114749583439036416,
"in_reply_to_status_id_str": "114749583439036416",
"in_reply_to_user_id": 819797,
"in_reply_to_user_id_str": "819797",
"in_reply_to_screen_name": "twitterapi",
"user": {
"id": 6253282,
"id_str": "6253282",
"name": "Twitter API",
"screen_name": "twitterapi",
"location": "San Francisco, CA",
"url": "https://dev.twitter.com",
"description": "The Real Twitter API.",
"derived": {
"locations": [
{}
],
"klout": [
{}
]
},
"protected": true,
"verified": false,
"followers_count": 21,
"friends_count": 32,
"listed_count": 9274,
"favourites_count": 13,
"statuses_count": 42,
"created_at": "Mon Nov 29 21:18:15 +0000 2010",
"utc_offset": -18000,
"time_zone": "Pacific Time (US & Canada)",
"geo_enabled": true,
"lang": "en",
"contributors_enabled": false,
"profile_background_color": "e8f2f7",
"profile_background_image_url": "http://a2.twimg.com/profile_background_images/229557229/twitterapi-bg.png",
"profile_background_image_url_https": "https://si0.twimg.com/profile_background_images/229557229/twitterapi-bg.png",
"profile_background_tile": false,
"profile_banner_url": "https://si0.twimg.com/profile_banners/819797/1348102824",
"profile_image_url": "http://abs.twimg.com/sticky/default_profile_images/default_profile_normal.png",
"profile_image_url_https": "https://abs.twimg.com/sticky/default_profile_images/default_profile_normal.png",
"profile_link_color": "0094C2",
"profile_sidebar_border_color": "0094C2",
"profile_sidebar_fill_color": "a9d9f1",
"profile_text_color": "437792",
"profile_use_background_image": true,
"default_profile": false,
"default_profile_image": false,
"withheld_in_countries": "GR, HK, MY",
"withheld_scope": "user"
},
"geo": null,
"coordinates": {
"type": "Point",
"coordinates": [
-73.9998279,
40.74118764
]
},
"place": {
"id": "01a9a39529b27f36",
"url": "https://api.twitter.com/1.1/geo/id/01a9a39529b27f36.json",
"place_type": "city",
"name": "Manhattan",
"full_name": "Manhattan, NY",
"country_code": "US",
"country": "United States",
"bounding_box": {
"type": "Polygon",
"coordinates": [
[
[
-74.026675,
40.683935
],
[
-74.026675,
40.877483
],
[
-73.910408,
40.877483
],
[
-73.910408,
40.3935
]
]
]
},
"attributes": {}
},
"quoted_status_id": 114749583439036416,
"quoted_status_id_str": "114749583439036416",
"is_quote_status": false,
"quoted_status": {
"created_at": "Wed Aug 27 13:08:45 +0000 2008",
"id": 114749583439036416,
"id_str": "114749583439036416",
"text": "Tweet Button, Follow Button, and Web Intents javascript now support SSL http://t.co/9fbA0oYy ^TS",
"source": "Twitter for Mac",
"truncated": true,
"in_reply_to_status_id": 114749583439036416,
"in_reply_to_status_id_str": "114749583439036416",
"in_reply_to_user_id": 819797,
"in_reply_to_user_id_str": "819797",
"in_reply_to_screen_name": "twitterapi",
"user": {
"id": 6253282,
"id_str": "6253282",
"name": "Twitter API",
"screen_name": "twitterapi",
"location": "San Francisco, CA",
"url": "https://dev.twitter.com",
"description": "The Real Twitter API.",
"derived": {
"locations": [
{}
],
"klout": [
{}
]
},
"protected": true,
"verified": false,
"followers_count": 21,
"friends_count": 32,
"listed_count": 9274,
"favourites_count": 13,
"statuses_count": 42,
"created_at": "Mon Nov 29 21:18:15 +0000 2010",
"utc_offset": -18000,
"time_zone": "Pacific Time (US & Canada)",
"geo_enabled": true,
"lang": "en",
"contributors_enabled": false,
"profile_background_color": "e8f2f7",
"profile_background_image_url": "http://a2.twimg.com/profile_background_images/229557229/twitterapi-bg.png",
"profile_background_image_url_https": "https://si0.twimg.com/profile_background_images/229557229/twitterapi-bg.png",
"profile_background_tile": false,
"profile_banner_url": "https://si0.twimg.com/profile_banners/819797/1348102824",
"profile_image_url": "http://abs.twimg.com/sticky/default_profile_images/default_profile_normal.png",
"profile_image_url_https": "https://abs.twimg.com/sticky/default_profile_images/default_profile_normal.png",
"profile_link_color": "0094C2",
"profile_sidebar_border_color": "0094C2",
"profile_sidebar_fill_color": "a9d9f1",
"profile_text_color": "437792",
"profile_use_background_image": true,
"default_profile": false,
"default_profile_image": false,
"withheld_in_countries": "GR, HK, MY",
"withheld_scope": "user"
},
"geo": null,
"coordinates": {
"type": "Point",
"coordinates": [
-73.9998279,
40.74118764
]
},
"place": {
"id": "01a9a39529b27f36",
"url": "https://api.twitter.com/1.1/geo/id/01a9a39529b27f36.json",
"place_type": "city",
"name": "Manhattan",
"full_name": "Manhattan, NY",
"country_code": "US",
"country": "United States",
"bounding_box": {
"type": "Polygon",
"coordinates": [
[
[
-74.026675,
40.683935
],
[
-74.026675,
40.877483
],
[
-73.910408,
40.877483
],
[
-73.910408,
40.3935
]
]
]
},
"attributes": {}
},
"quoted_status_id": 114749583439036416,
"quoted_status_id_str": "114749583439036416",
"is_quote_status": false,
"quoted_status": {},
"retweeted_status": {},
"quote_count": 1138,
"reply_count": 1585,
"retweet_count": 1585,
"favorite_count": 1138,
"entities": {
"hashtags": [
{
"indices": [
32,
38
],
"text": "nodejs"
}
],
"media": [
{
"display_url": "pic.twitter.com/rJC5Pxsu",
"expanded_url": "http://twitter.com/yunorno/status/114080493036773378/photo/1",
"id": 1.1408049304097e+17,
"id_str": "114080493040967680",
"indices": [
15,
35
],
"media_url": "http://p.twimg.com/AZVLmp-CIAAbkyy.jpg",
"media_url_https": "https://p.twimg.com/AZVLmp-CIAAbkyy.jpg",
"sizes": {
"thumb": {
"h": 150,
"resize": "crop",
"w": 150
},
"large": {
"h": 238,
"resize": "fit",
"w": 226
},
"medium": {
"h": 238,
"resize": "fit",
"w": 226
},
"small": {
"h": 238,
"resize": "fit",
"w": 226
}
},
"source_status_id": 205282515685081088,
"source_status_id_str": "205282515685081088",
"type": "photo",
"url": "http://t.co/rJC5Pxsu"
}
],
"urls": [
{
"display_url": "bit.ly/18gECvy",
"expanded_url": "http://bit.ly/18gECvy",
"indices": [
62,
85
],
"url": "https://t.co/D0n7a53c2l",
"unwound": {
"url": "https://www.youtube.com/watch?v=oHg5SJYRHA0",
"status": 200,
"title": "RickRoll'D",
"description": "http://www.facebook.com/rickroll548 As long as trolls are still trolling, the Rick will never stop rolling."
}
}
],
"user_mentions": [
{
"id": 6253282,
"id_str": "6253282",
"indices": [
4,
15
],
"name": "Twitter API",
"screen_name": "twitterapi"
}
],
"symbols": [
{
"indices": [
12,
17
],
"text": "twtr"
}
],
"polls": [
{
"options": [
{
"position": 1,
"text": "I read documentation once."
},
{
"position": 2,
"text": "I read documentation twice."
},
{
"position": 3,
"text": "I read documentation over and over again."
}
],
"end_datetime": "Thu May 25 22:20:27 +0000 2017",
"duration_minutes": 60
}
]
},
"extended_entities": {
"media": [
{
"display_url": "pic.twitter.com/rJC5Pxsu",
"expanded_url": "http://twitter.com/yunorno/status/114080493036773378/photo/1",
"id": 1.1408049304097e+17,
"id_str": "114080493040967680",
"indices": [
15,
35
],
"media_url": "http://p.twimg.com/AZVLmp-CIAAbkyy.jpg",
"media_url_https": "https://p.twimg.com/AZVLmp-CIAAbkyy.jpg",
"sizes": {
"thumb": {
"h": 150,
"resize": "crop",
"w": 150
},
"large": {
"h": 238,
"resize": "fit",
"w": 226
},
"medium": {
"h": 238,
"resize": "fit",
"w": 226
},
"small": {
"h": 238,
"resize": "fit",
"w": 226
}
},
"source_status_id": 205282515685081088,
"source_status_id_str": "205282515685081088",
"type": "photo",
"url": "http://t.co/rJC5Pxsu"
}
]
},
"favorited": true,
"retweeted": false,
"possibly_sensitive": true,
"filter_level": "medium",
"lang": "en"
},
"retweeted_status": {
"created_at": "Wed Aug 27 13:08:45 +0000 2008",
"id": 114749583439036416,
"id_str": "114749583439036416",
"text": "Tweet Button, Follow Button, and Web Intents javascript now support SSL http://t.co/9fbA0oYy ^TS",
"source": "Twitter for Mac",
"truncated": true,
"in_reply_to_status_id": 114749583439036416,
"in_reply_to_status_id_str": "114749583439036416",
"in_reply_to_user_id": 819797,
"in_reply_to_user_id_str": "819797",
"in_reply_to_screen_name": "twitterapi",
"user": {
"id": 6253282,
"id_str": "6253282",
"name": "Twitter API",
"screen_name": "twitterapi",
"location": "San Francisco, CA",
"url": "https://dev.twitter.com",
"description": "The Real Twitter API.",
"derived": {
"locations": [
{}
],
"klout": [
{}
]
},
"protected": true,
"verified": false,
"followers_count": 21,
"friends_count": 32,
"listed_count": 9274,
"favourites_count": 13,
"statuses_count": 42,
"created_at": "Mon Nov 29 21:18:15 +0000 2010",
"utc_offset": -18000,
"time_zone": "Pacific Time (US & Canada)",
"geo_enabled": true,
"lang": "en",
"contributors_enabled": false,
"profile_background_color": "e8f2f7",
"profile_background_image_url": "http://a2.twimg.com/profile_background_images/229557229/twitterapi-bg.png",
"profile_background_image_url_https": "https://si0.twimg.com/profile_background_images/229557229/twitterapi-bg.png",
"profile_background_tile": false,
"profile_banner_url": "https://si0.twimg.com/profile_banners/819797/1348102824",
"profile_image_url": "http://abs.twimg.com/sticky/default_profile_images/default_profile_normal.png",
"profile_image_url_https": "https://abs.twimg.com/sticky/default_profile_images/default_profile_normal.png",
"profile_link_color": "0094C2",
"profile_sidebar_border_color": "0094C2",
"profile_sidebar_fill_color": "a9d9f1",
"profile_text_color": "437792",
"profile_use_background_image": true,
"default_profile": false,
"default_profile_image": false,
"withheld_in_countries": "GR, HK, MY",
"withheld_scope": "user"
},
"geo": null,
"coordinates": {
"type": "Point",
"coordinates": [
-73.9998279,
40.74118764
]
},
"place": {
"id": "01a9a39529b27f36",
"url": "https://api.twitter.com/1.1/geo/id/01a9a39529b27f36.json",
"place_type": "city",
"name": "Manhattan",
"full_name": "Manhattan, NY",
"country_code": "US",
"country": "United States",
"bounding_box": {
"type": "Polygon",
"coordinates": [
[
[
-74.026675,
40.683935
],
[
-74.026675,
40.877483
],
[
-73.910408,
40.877483
],
[
-73.910408,
40.3935
]
]
]
},
"attributes": {}
},
"quoted_status_id": 114749583439036416,
"quoted_status_id_str": "114749583439036416",
"is_quote_status": false,
"quoted_status": {},
"retweeted_status": {},
"quote_count": 1138,
"reply_count": 1585,
"retweet_count": 1585,
"favorite_count": 1138,
"entities": {
"hashtags": [
{
"indices": [
32,
38
],
"text": "nodejs"
}
],
"media": [
{
"display_url": "pic.twitter.com/rJC5Pxsu",
"expanded_url": "http://twitter.com/yunorno/status/114080493036773378/photo/1",
"id": 1.1408049304097e+17,
"id_str": "114080493040967680",
"indices": [
15,
35
],
"media_url": "http://p.twimg.com/AZVLmp-CIAAbkyy.jpg",
"media_url_https": "https://p.twimg.com/AZVLmp-CIAAbkyy.jpg",
"sizes": {
"thumb": {
"h": 150,
"resize": "crop",
"w": 150
},
"large": {
"h": 238,
"resize": "fit",
"w": 226
},
"medium": {
"h": 238,
"resize": "fit",
"w": 226
},
"small": {
"h": 238,
"resize": "fit",
"w": 226
}
},
"source_status_id": 205282515685081088,
"source_status_id_str": "205282515685081088",
"type": "photo",
"url": "http://t.co/rJC5Pxsu"
}
],
"urls": [
{
"display_url": "bit.ly/18gECvy",
"expanded_url": "http://bit.ly/18gECvy",
"indices": [
62,
85
],
"url": "https://t.co/D0n7a53c2l",
"unwound": {
"url": "https://www.youtube.com/watch?v=oHg5SJYRHA0",
"status": 200,
"title": "RickRoll'D",
"description": "http://www.facebook.com/rickroll548 As long as trolls are still trolling, the Rick will never stop rolling."
}
}
],
"user_mentions": [
{
"id": 6253282,
"id_str": "6253282",
"indices": [
4,
15
],
"name": "Twitter API",
"screen_name": "twitterapi"
}
],
"symbols": [
{
"indices": [
12,
17
],
"text": "twtr"
}
],
"polls": [
{
"options": [
{
"position": 1,
"text": "I read documentation once."
},
{
"position": 2,
"text": "I read documentation twice."
},
{
"position": 3,
"text": "I read documentation over and over again."
}
],
"end_datetime": "Thu May 25 22:20:27 +0000 2017",
"duration_minutes": 60
}
]
},
"extended_entities": {
"media": [
{
"display_url": "pic.twitter.com/rJC5Pxsu",
"expanded_url": "http://twitter.com/yunorno/status/114080493036773378/photo/1",
"id": 1.1408049304097e+17,
"id_str": "114080493040967680",
"indices": [
15,
35
],
"media_url": "http://p.twimg.com/AZVLmp-CIAAbkyy.jpg",
"media_url_https": "https://p.twimg.com/AZVLmp-CIAAbkyy.jpg",
"sizes": {
"thumb": {
"h": 150,
"resize": "crop",
"w": 150
},
"large": {
"h": 238,
"resize": "fit",
"w": 226
},
"medium": {
"h": 238,
"resize": "fit",
"w": 226
},
"small": {
"h": 238,
"resize": "fit",
"w": 226
}
},
"source_status_id": 205282515685081088,
"source_status_id_str": "205282515685081088",
"type": "photo",
"url": "http://t.co/rJC5Pxsu"
}
]
},
"favorited": true,
"retweeted": false,
"possibly_sensitive": true,
"filter_level": "medium",
"lang": "en"
},
"quote_count": 1138,
"reply_count": 1585,
"retweet_count": 1585,
"favorite_count": 1138,
"entities": {
"hashtags": [
{
"indices": [
32,
38
],
"text": "nodejs"
}
],
"media": [
{
"display_url": "pic.twitter.com/rJC5Pxsu",
"expanded_url": "http://twitter.com/yunorno/status/114080493036773378/photo/1",
"id": 1.1408049304097e+17,
"id_str": "114080493040967680",
"indices": [
15,
35
],
"media_url": "http://p.twimg.com/AZVLmp-CIAAbkyy.jpg",
"media_url_https": "https://p.twimg.com/AZVLmp-CIAAbkyy.jpg",
"sizes": {
"thumb": {
"h": 150,
"resize": "crop",
"w": 150
},
"large": {
"h": 238,
"resize": "fit",
"w": 226
},
"medium": {
"h": 238,
"resize": "fit",
"w": 226
},
"small": {
"h": 238,
"resize": "fit",
"w": 226
}
},
"source_status_id": 205282515685081088,
"source_status_id_str": "205282515685081088",
"type": "photo",
"url": "http://t.co/rJC5Pxsu"
}
],
"urls": [
{
"display_url": "bit.ly/18gECvy",
"expanded_url": "http://bit.ly/18gECvy",
"indices": [
62,
85
],
"url": "https://t.co/D0n7a53c2l",
"unwound": {
"url": "https://www.youtube.com/watch?v=oHg5SJYRHA0",
"status": 200,
"title": "RickRoll'D",
"description": "http://www.facebook.com/rickroll548 As long as trolls are still trolling, the Rick will never stop rolling."
}
}
],
"user_mentions": [
{
"id": 6253282,
"id_str": "6253282",
"indices": [
4,
15
],
"name": "Twitter API",
"screen_name": "twitterapi"
}
],
"symbols": [
{
"indices": [
12,
17
],
"text": "twtr"
}
],
"polls": [
{
"options": [
{
"position": 1,
"text": "I read documentation once."
},
{
"position": 2,
"text": "I read documentation twice."
},
{
"position": 3,
"text": "I read documentation over and over again."
}
],
"end_datetime": "Thu May 25 22:20:27 +0000 2017",
"duration_minutes": 60
}
]
},
"extended_entities": {
"media": [
{
"display_url": "pic.twitter.com/rJC5Pxsu",
"expanded_url": "http://twitter.com/yunorno/status/114080493036773378/photo/1",
"id": 1.1408049304097e+17,
"id_str": "114080493040967680",
"indices": [
15,
35
],
"media_url": "http://p.twimg.com/AZVLmp-CIAAbkyy.jpg",
"media_url_https": "https://p.twimg.com/AZVLmp-CIAAbkyy.jpg",
"sizes": {
"thumb": {
"h": 150,
"resize": "crop",
"w": 150
},
"large": {
"h": 238,
"resize": "fit",
"w": 226
},
"medium": {
"h": 238,
"resize": "fit",
"w": 226
},
"small": {
"h": 238,
"resize": "fit",
"w": 226
}
},
"source_status_id": 205282515685081088,
"source_status_id_str": "205282515685081088",
"type": "photo",
"url": "http://t.co/rJC5Pxsu"
}
]
},
"favorited": true,
"retweeted": false,
"possibly_sensitive": true,
"filter_level": "medium",
"lang": "en"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment