Skip to content

Instantly share code, notes, and snippets.

@igorbrigadir
Created October 31, 2019 09:43
Show Gist options
  • Save igorbrigadir/c1c7ec35c96d10d6ae4cbc65aea6ddb0 to your computer and use it in GitHub Desktop.
Save igorbrigadir/c1c7ec35c96d10d6ae4cbc65aea6ddb0 to your computer and use it in GitHub Desktop.
Twitter Face Recognition API Entities
{
"created_at": "Mon Sep 09 00:18:40 +0000 2019",
"id": 1170853995981737984,
"id_str": "1170853995981737984",
"full_text": "Met PM @jacindaardern at the Beehive today for a followup discussion on the Christchurch call. Also my first time in New Zealand. Kind folks and beautiful environment. https://t.co/XQWdPrHrf4",
"truncated": false,
"display_text_range": [
0,
167
],
"entities": {
"hashtags": [],
"symbols": [],
"user_mentions": [
{
"screen_name": "jacindaardern",
"name": "Jacinda Ardern",
"id": 22959763,
"id_str": "22959763",
"indices": [
7,
21
]
}
],
"urls": [],
"media": [
{
"id": 1170853684659572737,
"id_str": "1170853684659572737",
"indices": [
168,
191
],
"media_url": "http://pbs.twimg.com/media/ED-1OQYXUAEP7M1.jpg",
"media_url_https": "https://pbs.twimg.com/media/ED-1OQYXUAEP7M1.jpg",
"url": "https://t.co/XQWdPrHrf4",
"display_url": "pic.twitter.com/XQWdPrHrf4",
"expanded_url": "https://twitter.com/jack/status/1170853995981737984/photo/1",
"type": "photo",
"sizes": {
"thumb": {
"w": 150,
"h": 150,
"resize": "crop"
},
"medium": {
"w": 1024,
"h": 768,
"resize": "fit"
},
"small": {
"w": 680,
"h": 510,
"resize": "fit"
},
"large": {
"w": 1024,
"h": 768,
"resize": "fit"
}
},
"features": {
"medium": {
"faces": [
{
"x": 195,
"y": 116,
"h": 176,
"w": 176
},
{
"x": 609,
"y": 153,
"h": 192,
"w": 192
}
]
},
"small": {
"faces": [
{
"x": 129,
"y": 77,
"h": 116,
"w": 116
},
{
"x": 404,
"y": 101,
"h": 127,
"w": 127
}
]
},
"orig": {
"faces": [
{
"x": 195,
"y": 116,
"h": 176,
"w": 176
},
{
"x": 609,
"y": 153,
"h": 192,
"w": 192
}
]
},
"large": {
"faces": [
{
"x": 195,
"y": 116,
"h": 176,
"w": 176
},
{
"x": 609,
"y": 153,
"h": 192,
"w": 192
}
]
}
}
}
]
},
"extended_entities": {
"media": [
{
"id": 1170853684659572737,
"id_str": "1170853684659572737",
"indices": [
168,
191
],
"media_url": "http://pbs.twimg.com/media/ED-1OQYXUAEP7M1.jpg",
"media_url_https": "https://pbs.twimg.com/media/ED-1OQYXUAEP7M1.jpg",
"url": "https://t.co/XQWdPrHrf4",
"display_url": "pic.twitter.com/XQWdPrHrf4",
"expanded_url": "https://twitter.com/jack/status/1170853995981737984/photo/1",
"type": "photo",
"sizes": {
"thumb": {
"w": 150,
"h": 150,
"resize": "crop"
},
"medium": {
"w": 1024,
"h": 768,
"resize": "fit"
},
"small": {
"w": 680,
"h": 510,
"resize": "fit"
},
"large": {
"w": 1024,
"h": 768,
"resize": "fit"
}
},
"features": {
"medium": {
"faces": [
{
"x": 195,
"y": 116,
"h": 176,
"w": 176
},
{
"x": 609,
"y": 153,
"h": 192,
"w": 192
}
]
},
"small": {
"faces": [
{
"x": 129,
"y": 77,
"h": 116,
"w": 116
},
{
"x": 404,
"y": 101,
"h": 127,
"w": 127
}
]
},
"orig": {
"faces": [
{
"x": 195,
"y": 116,
"h": 176,
"w": 176
},
{
"x": 609,
"y": 153,
"h": 192,
"w": 192
}
]
},
"large": {
"faces": [
{
"x": 195,
"y": 116,
"h": 176,
"w": 176
},
{
"x": 609,
"y": 153,
"h": 192,
"w": 192
}
]
}
},
"ext_alt_text": null
}
]
},
"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": 12,
"id_str": "12",
"name": "jack 🌍🌏🌎",
"screen_name": "jack",
"location": "",
"description": "",
"url": null,
"entities": {
"description": {
"urls": []
}
},
"protected": false,
"followers_count": 4285283,
"friends_count": 4096,
"listed_count": 28078,
"created_at": "Tue Mar 21 20:50:14 +0000 2006",
"favourites_count": 24610,
"utc_offset": null,
"time_zone": null,
"geo_enabled": true,
"verified": true,
"statuses_count": 26195,
"lang": null,
"contributors_enabled": false,
"is_translator": false,
"is_translation_enabled": false,
"profile_background_color": "EBEBEB",
"profile_background_image_url": "http://abs.twimg.com/images/themes/theme7/bg.gif",
"profile_background_image_url_https": "https://abs.twimg.com/images/themes/theme7/bg.gif",
"profile_background_tile": false,
"profile_image_url": "http://pbs.twimg.com/profile_images/1115644092329758721/AFjOr-K8_normal.jpg",
"profile_image_url_https": "https://pbs.twimg.com/profile_images/1115644092329758721/AFjOr-K8_normal.jpg",
"profile_banner_url": "https://pbs.twimg.com/profile_banners/12/1483046077",
"profile_image_extensions_alt_text": null,
"profile_banner_extensions_alt_text": null,
"profile_link_color": "990000",
"profile_sidebar_border_color": "DFDFDF",
"profile_sidebar_fill_color": "F3F3F3",
"profile_text_color": "333333",
"profile_use_background_image": true,
"has_extended_profile": true,
"default_profile": false,
"default_profile_image": false,
"can_media_tag": true,
"followed_by": false,
"following": false,
"follow_request_sent": false,
"notifications": false,
"translator_type": "regular"
},
"geo": null,
"coordinates": null,
"place": {
"id": "013b5456649606dc",
"url": "https://api.twitter.com/1.1/geo/id/013b5456649606dc.json",
"place_type": "city",
"name": "Wellington City",
"full_name": "Wellington City, New Zealand",
"country_code": "NZ",
"country": "New Zealand",
"contained_within": [],
"bounding_box": {
"type": "Polygon",
"coordinates": [
[
[
174.613267,
-41.362455
],
[
174.89541,
-41.362455
],
[
174.89541,
-41.14354
],
[
174.613267,
-41.14354
]
]
]
},
"attributes": {}
},
"contributors": null,
"is_quote_status": false,
"retweet_count": 225,
"favorite_count": 2055,
"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