Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
JSON from Twitter API v2 for labeled tweet: https://twitter.com/realDonaldTrump/status/1297495295266357248
{
"data": [
{
"conversation_id": "1297495295266357248",
"lang": "en",
"source": "Twitter for iPhone",
"context_annotations": [
{
"domain": {
"id": "10",
"name": "Person",
"description": "Named people in the world like Nelson Mandela"
},
"entity": {
"id": "799022225751871488",
"name": "Donald Trump",
"description": "US President Donald Trump"
}
},
{
"domain": {
"id": "35",
"name": "Politician",
"description": "Politicians in the world, like Joe Biden"
},
"entity": {
"id": "799022225751871488",
"name": "Donald Trump",
"description": "US President Donald Trump"
}
},
{
"domain": {
"id": "123",
"name": "Ongoing News Story",
"description": "Ongoing News Stories like 'Brexit'"
},
"entity": {
"id": "1220701888179359745",
"name": "COVID-19"
}
}
],
"text": "So now the Democrats are using Mail Drop Boxes, which are a voter security disaster. Among other things, they make it possible for a person to vote multiple times. Also, who controls them, are they placed in Republican or Democrat areas? They are not Covid sanitized. A big fraud!",
"entities": {
"annotations": [
{
"start": 11,
"end": 19,
"probability": 0.9011,
"type": "Organization",
"normalized_text": "Democrats"
},
{
"start": 31,
"end": 45,
"probability": 0.4498,
"type": "Product",
"normalized_text": "Mail Drop Boxes"
},
{
"start": 208,
"end": 217,
"probability": 0.5832,
"type": "Organization",
"normalized_text": "Republican"
},
{
"start": 222,
"end": 229,
"probability": 0.5921,
"type": "Organization",
"normalized_text": "Democrat"
}
]
},
"possibly_sensitive": false,
"id": "1297495295266357248",
"public_metrics": {
"retweet_count": 0,
"reply_count": 0,
"like_count": 0,
"quote_count": 0
},
"author_id": "25073877",
"created_at": "2020-08-23T11:25:59.000Z"
}
],
"includes": {
"users": [
{
"verified": true,
"public_metrics": {
"followers_count": 85705437,
"following_count": 50,
"tweet_count": 55284,
"listed_count": 118951
},
"description": "45th President of the United States of America\ud83c\uddfa\ud83c\uddf8",
"url": "https://t.co/OMxB0x7xC5",
"entities": {
"url": {
"urls": [
{
"start": 0,
"end": 23,
"url": "https://t.co/OMxB0x7xC5",
"expanded_url": "http://www.Instagram.com/realDonaldTrump",
"display_url": "Instagram.com/realDonaldTrump"
}
]
}
},
"name": "Donald J. Trump",
"location": "Washington, DC",
"profile_image_url": "https://pbs.twimg.com/profile_images/874276197357596672/kUuht00m_normal.jpg",
"id": "25073877",
"protected": false,
"username": "realDonaldTrump",
"created_at": "2009-03-18T13:46:38.000Z"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.