This repository was archived by the owner on Jul 26, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 12
This repository was archived by the owner on Jul 26, 2023. It is now read-only.
Any plan to support APIv2 response? #140
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or request
Description
<twitter-status> takes a single value
statusthat must be the full response of GET statuses/show/:id with the parametersinclude_entities=trueandtweet_mode=extended.
As the document says, we can't use the response of APIv2 (e.g. GET /2/tweets)
Is there any plan to support APIv2?
Example for tweet ID 20 from APIv2
{
"data":[
{
"author_id":"12",
"conversation_id":"20",
"possibly_sensitive":false,
"public_metrics":{
"retweet_count":122191,
"reply_count":10828,
"like_count":179563,
"quote_count":19323
},
"id":"20",
"created_at":"2006-03-21T20:50:14.000Z",
"lang":"en",
"reply_settings":"everyone",
"text":"just setting up my twttr",
"source":"Twitter Web Client"
}
],
"includes":{
"users":[
{
"verified":true,
"entities":{
"description":{
"hashtags":[
{
"start":0,
"end":8,
"tag":"bitcoin"
}
]
}
},
"name":"jack",
"protected":false,
"id":"12",
"created_at":"2006-03-21T20:50:14.000Z",
"pinned_tweet_id":"1247616214769086465",
"description":"#bitcoin",
"profile_image_url":"https://pbs.twimg.com/profile_images/1115644092329758721/AFjOr-K8_normal.jpg",
"public_metrics":{
"followers_count":6433546,
"following_count":4579,
"tweet_count":28623,
"listed_count":32977
},
"url":"",
"username":"jack"
}
]
}
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request