Search and request tweet Fields

GET https://us-central1-appgregator.cloudfunctions.net/twitter/search/recent/

Query Parameters

Name
Type
Description

name*

String

qantor.co.id

connection_name*

String

twitter-1

query*

String

from:rifqyyusuf

Headers

Name
Type
Description

x-api-key*

String

43c464439b5507293ba7b315c9875907

{
    "data": [
        {
            "entities": {
                "mentions": [
                    {
                        "start": 0,
                        "end": 11,
                        "username": "RonaldAdrs",
                        "id": "1541307718920572928"
                    }
                ]
            },
            "lang": "en",
            "author_id": "245297600",
            "in_reply_to_user_id": "1541307718920572928",
            "referenced_tweets": [
                {
                    "type": "replied_to",
                    "id": "1542131099983290368"
                }
            ],
            "text": "@RonaldAdrs hello",
            "id": "1542375416014331905",
            "created_at": "2022-06-30T05:12:09.000Z",
            "possibly_sensitive": false,
            "source": "Twitter Web App"
        },
        {
            "entities": {
                "mentions": [
                    {
                        "start": 0,
                        "end": 11,
                        "username": "RonaldAdrs",
                        "id": "1541307718920572928"
                    }
                ]
            },
            "lang": "en",
            "author_id": "245297600",
            "in_reply_to_user_id": "1541307718920572928",
            "referenced_tweets": [
                {
                    "type": "replied_to",
                    "id": "1542131099983290368"
                }
            ],
            "text": "@RonaldAdrs bot server",
            "id": "1542374902925500416",
            "created_at": "2022-06-30T05:10:07.000Z",
            "possibly_sensitive": false,
            "source": "Twitter Web App"
        },
        {
            "entities": {
                "mentions": [
                    {
                        "start": 0,
                        "end": 11,
                        "username": "RonaldAdrs",
                        "id": "1541307718920572928"
                    }
                ]
            },
            "lang": "en",
            "author_id": "245297600",
            "in_reply_to_user_id": "1541307718920572928",
            "referenced_tweets": [
                {
                    "type": "replied_to",
                    "id": "1542131099983290368"
                }
            ],
            "text": "@RonaldAdrs hello from developer",
            "id": "1542374103738642432",
            "created_at": "2022-06-30T05:06:56.000Z",
            "possibly_sensitive": false,
            "source": "Twitter Web App"
        }
    ],
    "meta": {
        "newest_id": "1542375416014331905",
        "oldest_id": "1542374103738642432",
        "result_count": 3
    }
}
curl --location --request GET 'https://api.twitter.com/2/tweets/search/recent?query=nyc&tweet.fields=author_id,created_at,entities,geo,in_reply_to_user_id,lang,possibly_sensitive,referenced_tweets,source'

Last updated