> For the complete documentation index, see [llms.txt](https://edrus.gitbook.io/appgregator-api-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://edrus.gitbook.io/appgregator-api-docs/appgregators/social-media/twitter/api/tweet-lookup/multiple/multiple-tweet-and-request-tweet-fields.md).

# Multiple tweet and request tweet fields

<mark style="color:blue;">`GET`</mark> `https://us-central1-appgregator.cloudfunctions.net/twitter/tweet/multiple-tweet/request-field/`

#### Query Parameters

| Name                                               | Type   | Description                             |
| -------------------------------------------------- | ------ | --------------------------------------- |
| name<mark style="color:red;">\*</mark>             | String | qantor.co.id                            |
| connection\_name<mark style="color:red;">\*</mark> | String | twitter-1                               |
| id<mark style="color:red;">\*</mark>               | String | 1538562625868419072,1276501058211262464 |

#### Headers

| Name                                        | Type   | Description                      |
| ------------------------------------------- | ------ | -------------------------------- |
| x-api-key<mark style="color:red;">\*</mark> | String | 43c464439b5507293ba7b315c9875907 |

{% tabs %}
{% tab title="200: OK Success" %}

```javascript
{
    "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"
        }
    ]
}
```

{% endtab %}

{% tab title="200: OK Could not find tweet ID" %}

```javascript
{
    "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"
        }
    ]
}
```

{% endtab %}
{% endtabs %}

{% tabs %}
{% tab title="cURL" %}

```shell
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'
```

{% endtab %}

{% tab title="NodeJs + Axios" %}

```javascript
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);
});

```

{% endtab %}

{% tab title="PHP + cURL" %}

```php
<?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;

```

{% endtab %}
{% endtabs %}
