Single tweet and request poll field
a single Tweet ID
GET https://us-central1-appgregator.cloudfunctions.net/twitter/tweet/single-tweet/request-poll-field/
Query Parameters
Name
Type
Description
name*
String
qantor.co.id
connection_name*
String
twitter-1
id*
String
1199786642791452673
Headers
Name
Type
Description
x-api-key*
String
43c464439b5507293ba7b315c9875907
{
"data": {
"attachments": {
"poll_ids": [
"1199786642468413448"
]
},
"id": "1199786642791452673",
"text": "C#"
},
"includes": {
"polls": [
{
"voting_status": "closed",
"duration_minutes": 1440,
"id": "1199786642468413448",
"end_datetime": "2019-11-28T20:26:41.000Z",
"options": [
{
"position": 1,
"label": "“C Sharp”",
"votes": 795
},
{
"position": 2,
"label": "“C Hashtag”",
"votes": 156
}
]
}
]
}
}{
"errors": [
{
"value": "119978664279145267",
"detail": "Could not find tweet with id: [119978664279145267].",
"title": "Not Found Error",
"resource_type": "tweet",
"parameter": "id",
"resource_id": "119978664279145267",
"type": "https://api.twitter.com/2/problems/resource-not-found"
}
]
}Last updated