> 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/retweet/retweeted-by.md).

# Retweeted by

<mark style="color:blue;">`GET`</mark> `http://localhost:5001/appgregator/us-central1/twitter/tweet/retweeted-by/`

#### 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                                     |
| tweet\_id<mark style="color:red;">\*</mark>        | String | 1542718751119925250                           |
| pagination\_token                                  | String | 77qpymm88g5h9vqkluxctms04jj8n01kgfqusq813ounp |

#### Headers

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

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

```javascript
{
    "data": [
        {
            "id": "245297600",
            "name": "Muhammad Rifqy Yusuf",
            "username": "rifqyyusuf"
        }
    ],
    "meta": {
        "result_count": 1,
        "next_token": "7140dibdnow9c7btw481d79ndje8sgcng3biuxcp996wm"
    }
}
```

{% endtab %}

{% tab title="400: Bad Request Bad request" %}

```javascript
Request failed with status code 400
```

{% endtab %}
{% endtabs %}

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

```shell
curl --location --request GET 'https://us-central1-appgregator.cloudfunctions.net/twitter/tweet/retweeted-by?name=qantor.co.id&connection_name=twitter-1&tweet_id=1542718751119925250&pagination_token=77qpymm88g5h9vqkluxctms04jj8n01kgfqusq813ounp' \
--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/retweeted-by?name=qantor.co.id&connection_name=twitter-1&tweet_id=1542718751119925250&pagination_token=77qpymm88g5h9vqkluxctms04jj8n01kgfqusq813ounp',
  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/retweeted-by?name=qantor.co.id&connection_name=twitter-1&tweet_id=1542718751119925250&pagination_token=77qpymm88g5h9vqkluxctms04jj8n01kgfqusq813ounp',
  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 %}
