User by ID
GET
https://us-central1-appgregator.cloudfunctions.net/twitter/timelines/tweet/user/
Query Parameters
Name
Type
Description
name*
String
qantor.co.id
connection_name*
String
twitter-1
id*
String
245297600
pagination_token
String
7140dibdnow9c7btw4228a72l9ekw13jpnshz3nrxb6eq
Headers
Name
Type
Description
x-api-key*
String
43c464439b5507293ba7b315c9875907
{
"data": [
{
"id": "1542879109227118597",
"text": "RT @free_mint_bot: NFT: Skeptic Frens WTF\n\nOpensea: https://t.co/1oYNi1JnWZ\n\nEtherscan: https://t.co/ljLV0Cnunw\n\n#FreeMint #nft #NFTGiveawa…"
},
{
"id": "1542805371344998400",
"text": "RT @rifqyyusuf: testing appgregator api service @RonaldAdrs"
},
{
"id": "1542718751119925250",
"text": "testing appgregator api service @RonaldAdrs"
},
{
"id": "1542711952145018880",
"text": "testing appgregator apis @RonaldAdrs"
},
{
"id": "1542711843378331648",
"text": "hallo from bot appgregator apis @RonaldAdrs"
},
{
"id": "1542709708250685440",
"text": "status bots @RonaldAdrs"
},
{
"id": "1542706793469845504",
"text": "status bot @RonaldAdrs"
},
{
"id": "1542706450845552640",
"text": "status bot"
},
{
"id": "1542700215173812224",
"text": "tesLorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s. @RonaldAdrs"
},
{
"id": "1542699990039941122",
"text": "hallo from bot appgregator api @RonaldAdrs"
}
],
"meta": {
"result_count": 10,
"newest_id": "1542879109227118597",
"oldest_id": "1542699990039941122",
"next_token": "7140dibdnow9c7btw4228a72l9ekw13jpnshz3nrxb6eq"
}
}
{
"errors": [
{
"parameter": "id",
"resource_id": "2452976000",
"value": "2452976000",
"detail": "User has been suspended: [2452976000].",
"title": "Forbidden",
"resource_type": "user",
"type": "https://api.twitter.com/2/problems/resource-not-found"
}
]
}
curl --location --request GET 'http://localhost:5001/appgregator/us-central1/twitter/timelines/tweet/user-by-date?name=qantor.co.id&connection_name=twitter-1&id=2244994945&start_time=2022-06-21T17:03:48.000Z&end_time=2022-06-28T20:00:00.000Z' \
--header 'x-api-key: 43c464439b5507293ba7b315c9875907'
var axios = require('axios');
var config = {
method: 'get',
url: 'http://localhost:5001/appgregator/us-central1/twitter/timelines/tweet/user-by-date?name=qantor.co.id&connection_name=twitter-1&id=2244994945&start_time=2022-06-21T17:03:48.000Z&end_time=2022-06-28T20:00:00.000Z',
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 => 'http://localhost:5001/appgregator/us-central1/twitter/timelines/tweet/user-by-date?name=qantor.co.id&connection_name=twitter-1&id=2244994945&start_time=2022-06-21T17:03:48.000Z&end_time=2022-06-28T20:00:00.000Z',
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