Multiple tweet and request tweet fields
a multiple Tweet ID
GET
https://us-central1-appgregator.cloudfunctions.net/twitter/tweet/multiple-tweet/request-field/
Query Parameters
Name
Type
Description
name*
String
qantor.co.id
connection_name*
String
twitter-1
id*
String
1538562625868419072,1276501058211262464
Headers
Name
Type
Description
x-api-key*
String
43c464439b5507293ba7b315c9875907
{
"data": [
{
"possibly_sensitive": false,
"lang": "en",
"source": "Twitter Web App",
"created_at": "2022-06-19T16:41:29.000Z",
"text": "MINTING IS LIVE!\n\nour minting is going to be FREE for an HOUR, 3 TIMES a day!\nEST 01:00 PM / 09:00 PM / 05:00 AM\n\n300 FREE PASSES PER PHASE! π₯",
"id": "1538562625868419072",
"author_id": "1496058735134851075"
},
{
"possibly_sensitive": false,
"lang": "en",
"source": "Twitter Ads",
"created_at": "2020-06-26T13:02:23.000Z",
"attachments": {
"media_keys": [
"16_1276500934466703361"
]
},
"text": "Add new voices and conversations to your Timeline using Lists.\n\nYou can now:\nπ make a List\nπ discover new Lists\nπ follow a List\nπ Tweet a List\nhttps://t.co/BabQnqOX4r https://t.co/ATG2vi3Dxf",
"id": "1276501058211262464",
"entities": {
"urls": [
{
"start": 143,
"end": 166,
"url": "https://t.co/BabQnqOX4r",
"expanded_url": "https://twitter.com/i/lists/suggested",
"display_url": "twitter.com/i/lists/suggesβ¦",
"status": 404,
"unwound_url": "https://twitter.com/i/lists/suggested"
},
{
"start": 167,
"end": 190,
"url": "https://t.co/ATG2vi3Dxf",
"expanded_url": "https://twitter.com/Twitter/status/1276501058211262464/photo/1",
"display_url": "pic.twitter.com/ATG2vi3Dxf",
"media_key": "16_1276500934466703361"
}
]
},
"author_id": "783214"
}
]
}
{
"data": [
{
"possibly_sensitive": false,
"lang": "en",
"source": "Twitter Ads",
"created_at": "2020-06-26T13:02:23.000Z",
"attachments": {
"media_keys": [
"16_1276500934466703361"
]
},
"text": "Add new voices and conversations to your Timeline using Lists.\n\nYou can now:\nπ make a List\nπ discover new Lists\nπ follow a List\nπ Tweet a List\nhttps://t.co/BabQnqOX4r https://t.co/ATG2vi3Dxf",
"id": "1276501058211262464",
"entities": {
"urls": [
{
"start": 143,
"end": 166,
"url": "https://t.co/BabQnqOX4r",
"expanded_url": "https://twitter.com/i/lists/suggested",
"display_url": "twitter.com/i/lists/suggesβ¦",
"status": 404,
"unwound_url": "https://twitter.com/i/lists/suggested"
},
{
"start": 167,
"end": 190,
"url": "https://t.co/ATG2vi3Dxf",
"expanded_url": "https://twitter.com/Twitter/status/1276501058211262464/photo/1",
"display_url": "pic.twitter.com/ATG2vi3Dxf",
"media_key": "16_1276500934466703361"
}
]
},
"author_id": "783214"
}
],
"errors": [
{
"value": "15",
"detail": "Could not find tweet with ids: [15].",
"title": "Not Found Error",
"resource_type": "tweet",
"parameter": "ids",
"resource_id": "15",
"type": "https://api.twitter.com/2/problems/resource-not-found"
},
{
"value": "3856262586841907",
"detail": "Could not find tweet with ids: [3856262586841907].",
"title": "Not Found Error",
"resource_type": "tweet",
"parameter": "ids",
"resource_id": "3856262586841907",
"type": "https://api.twitter.com/2/problems/resource-not-found"
}
]
}
curl --location --request GET 'https://us-central1-appgregator.cloudfunctions.net/twitter/tweet/multiple-tweet/request-field?name=qantor.co.id&connection_name=twitter-1&id=15,38562625868419072,1276501058211262464' \
--header 'x-api-key: 43c464439b5507293ba7b315c9875907'
var axios = require('axios');
var config = {
method: 'get',
url: 'https://us-central1-appgregator.cloudfunctions.net/twitter/tweet/multiple-tweet/request-field?name=qantor.co.id&connection_name=twitter-1&id=15,38562625868419072,1276501058211262464',
headers: {
'x-api-key': '43c464439b5507293ba7b315c9875907'
}
};
axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://us-central1-appgregator.cloudfunctions.net/twitter/tweet/multiple-tweet/request-field?name=qantor.co.id&connection_name=twitter-1&id=15,38562625868419072,1276501058211262464',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'x-api-key: 43c464439b5507293ba7b315c9875907'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
Last updated