by ID and Expanded Pinned Tweet Fields

Single or multiple ID

GET https://us-central1-appgregator.cloudfunctions.net/twitter/users/user-by-id-expanded/

Query Parameters

Name
Type
Description

name*

String

qantor.co.id

connection_name*

String

twitter-1

id*

String

2621412174,783214,2244994945,6253282,495309159

Headers

Name
Type
Description

x-api-key*

String

43c464439b5507293ba7b315c9875907

{
    "data": [
        {
            "pinned_tweet_id": "1540318487050166272",
            "verified": true,
            "created_at": "2014-07-12T08:28:46.000Z",
            "url": "https://t.co/47Be5TxiIu",
            "location": "The Ether",
            "id": "2621412174",
            "profile_image_url": "https://pbs.twimg.com/profile_images/1537438338621157380/TL7Xz9cp_normal.jpg",
            "description": "An Investor / Collector of #NFTs and OG enthusiast.\nCo-Founder and owner of 📦 https://t.co/CZmYIsv8jM @nftboxes\nIG: https://t.co/d6EJ4Qk4Nn",
            "name": "Pranksy 📦",
            "username": "pranksy",
            "entities": {
                "url": {
                    "urls": [
                        {
                            "start": 0,
                            "end": 23,
                            "url": "https://t.co/47Be5TxiIu",
                            "expanded_url": "https://www.nftboxes.io/contact-us",
                            "display_url": "nftboxes.io/contact-us"
                        }
                    ]
                },
                "description": {
                    "urls": [
                        {
                            "start": 78,
                            "end": 101,
                            "url": "https://t.co/CZmYIsv8jM",
                            "expanded_url": "http://NFTBoxes.io",
                            "display_url": "NFTBoxes.io"
                        },
                        {
                            "start": 116,
                            "end": 139,
                            "url": "https://t.co/d6EJ4Qk4Nn",
                            "expanded_url": "http://instagram.com/pranksynft/",
                            "display_url": "instagram.com/pranksynft/"
                        }
                    ],
                    "hashtags": [
                        {
                            "start": 27,
                            "end": 32,
                            "tag": "NFTs"
                        }
                    ],
                    "mentions": [
                        {
                            "start": 102,
                            "end": 111,
                            "username": "nftboxes"
                        }
                    ]
                }
            },
            "protected": false
        },
        {
            "verified": true,
            "created_at": "2007-02-20T14:35:54.000Z",
            "url": "https://t.co/DAtOo6uuHk",
            "location": "everywhere",
            "id": "783214",
            "profile_image_url": "https://pbs.twimg.com/profile_images/1488548719062654976/u6qfBBkF_normal.jpg",
            "description": "What's happening?!",
            "name": "Twitter",
            "username": "Twitter",
            "entities": {
                "url": {
                    "urls": [
                        {
                            "start": 0,
                            "end": 23,
                            "url": "https://t.co/DAtOo6uuHk",
                            "expanded_url": "https://about.twitter.com/",
                            "display_url": "about.twitter.com"
                        }
                    ]
                }
            },
            "protected": false
        },
        {
            "verified": true,
            "created_at": "2013-12-14T04:35:55.000Z",
            "url": "https://t.co/3ZX3TNiZCY",
            "location": "127.0.0.1",
            "id": "2244994945",
            "profile_image_url": "https://pbs.twimg.com/profile_images/1445764922474827784/W2zEPN7U_normal.jpg",
            "description": "The voice of the #TwitterDev team and your official source for updates, news, and events, related to the #TwitterAPI.",
            "name": "Twitter Dev",
            "username": "TwitterDev",
            "entities": {
                "url": {
                    "urls": [
                        {
                            "start": 0,
                            "end": 23,
                            "url": "https://t.co/3ZX3TNiZCY",
                            "expanded_url": "https://developer.twitter.com/en/community",
                            "display_url": "developer.twitter.com/en/community"
                        }
                    ]
                },
                "description": {
                    "hashtags": [
                        {
                            "start": 17,
                            "end": 28,
                            "tag": "TwitterDev"
                        },
                        {
                            "start": 105,
                            "end": 116,
                            "tag": "TwitterAPI"
                        }
                    ]
                }
            },
            "protected": false
        },
        {
            "pinned_tweet_id": "1460324089726320643",
            "verified": true,
            "created_at": "2007-05-23T06:01:13.000Z",
            "url": "https://t.co/8IkCzCDr19",
            "id": "6253282",
            "profile_image_url": "https://pbs.twimg.com/profile_images/1445765299974795279/ExVMkDHG_normal.jpg",
            "description": "Tweets about changes and service issues. Follow @TwitterDev for more.",
            "name": "Twitter API",
            "username": "TwitterAPI",
            "entities": {
                "url": {
                    "urls": [
                        {
                            "start": 0,
                            "end": 23,
                            "url": "https://t.co/8IkCzCDr19",
                            "expanded_url": "https://developer.twitter.com",
                            "display_url": "developer.twitter.com"
                        }
                    ]
                },
                "description": {
                    "mentions": [
                        {
                            "start": 48,
                            "end": 59,
                            "username": "TwitterDev"
                        }
                    ]
                }
            },
            "protected": false
        },
        {
            "verified": true,
            "created_at": "2012-02-17T20:40:28.000Z",
            "url": "https://t.co/UFN8PpMrxw",
            "location": "New York, NY",
            "id": "495309159",
            "profile_image_url": "https://pbs.twimg.com/profile_images/1354493437756592129/sy1a_FXP_normal.jpg",
            "description": "#BlackLivesMatter",
            "name": "Twitter New York City",
            "username": "TwitterNYC",
            "entities": {
                "url": {
                    "urls": [
                        {
                            "start": 0,
                            "end": 23,
                            "url": "https://t.co/UFN8PpMrxw",
                            "expanded_url": "https://careers.twitter.com/content/careers-twitter/en/jobs.html#location=careers-twitter%3Alocation",
                            "display_url": "careers.twitter.com/content/career…"
                        }
                    ]
                },
                "description": {
                    "hashtags": [
                        {
                            "start": 0,
                            "end": 17,
                            "tag": "BlackLivesMatter"
                        }
                    ]
                }
            },
            "protected": false
        }
    ],
    "errors": [
        {
            "resource_type": "tweet",
            "field": "non_public_metrics.impression_count",
            "parameter": "pinned_tweet_id",
            "resource_id": "1540318487050166272",
            "title": "Field Authorization Error",
            "section": "includes",
            "detail": "Sorry, you are not authorized to access 'non_public_metrics.impression_count' on the Tweet with pinned_tweet_id : [1540318487050166272].",
            "value": "1540318487050166272",
            "type": "https://api.twitter.com/2/problems/not-authorized-for-field"
        },
        {
            "resource_type": "tweet",
            "field": "non_public_metrics.url_link_clicks",
            "parameter": "pinned_tweet_id",
            "resource_id": "1540318487050166272",
            "title": "Field Authorization Error",
            "section": "includes",
            "detail": "Sorry, you are not authorized to access 'non_public_metrics.url_link_clicks' on the Tweet with pinned_tweet_id : [1540318487050166272].",
            "value": "1540318487050166272",
            "type": "https://api.twitter.com/2/problems/not-authorized-for-field"
        },
        {
            "resource_type": "tweet",
            "field": "non_public_metrics.user_profile_clicks",
            "parameter": "pinned_tweet_id",
            "resource_id": "1540318487050166272",
            "title": "Field Authorization Error",
            "section": "includes",
            "detail": "Sorry, you are not authorized to access 'non_public_metrics.user_profile_clicks' on the Tweet with pinned_tweet_id : [1540318487050166272].",
            "value": "1540318487050166272",
            "type": "https://api.twitter.com/2/problems/not-authorized-for-field"
        },
        {
            "resource_type": "tweet",
            "field": "organic_metrics.impression_count",
            "parameter": "pinned_tweet_id",
            "resource_id": "1540318487050166272",
            "title": "Field Authorization Error",
            "section": "includes",
            "detail": "Sorry, you are not authorized to access 'organic_metrics.impression_count' on the Tweet with pinned_tweet_id : [1540318487050166272].",
            "value": "1540318487050166272",
            "type": "https://api.twitter.com/2/problems/not-authorized-for-field"
        },
        {
            "resource_type": "tweet",
            "field": "organic_metrics.like_count",
            "parameter": "pinned_tweet_id",
            "resource_id": "1540318487050166272",
            "title": "Field Authorization Error",
            "section": "includes",
            "detail": "Sorry, you are not authorized to access 'organic_metrics.like_count' on the Tweet with pinned_tweet_id : [1540318487050166272].",
            "value": "1540318487050166272",
            "type": "https://api.twitter.com/2/problems/not-authorized-for-field"
        },
        {
            "resource_type": "tweet",
            "field": "organic_metrics.reply_count",
            "parameter": "pinned_tweet_id",
            "resource_id": "1540318487050166272",
            "title": "Field Authorization Error",
            "section": "includes",
            "detail": "Sorry, you are not authorized to access 'organic_metrics.reply_count' on the Tweet with pinned_tweet_id : [1540318487050166272].",
            "value": "1540318487050166272",
            "type": "https://api.twitter.com/2/problems/not-authorized-for-field"
        },
        {
            "resource_type": "tweet",
            "field": "organic_metrics.retweet_count",
            "parameter": "pinned_tweet_id",
            "resource_id": "1540318487050166272",
            "title": "Field Authorization Error",
            "section": "includes",
            "detail": "Sorry, you are not authorized to access 'organic_metrics.retweet_count' on the Tweet with pinned_tweet_id : [1540318487050166272].",
            "value": "1540318487050166272",
            "type": "https://api.twitter.com/2/problems/not-authorized-for-field"
        },
        {
            "resource_type": "tweet",
            "field": "organic_metrics.url_link_clicks",
            "parameter": "pinned_tweet_id",
            "resource_id": "1540318487050166272",
            "title": "Field Authorization Error",
            "section": "includes",
            "detail": "Sorry, you are not authorized to access 'organic_metrics.url_link_clicks' on the Tweet with pinned_tweet_id : [1540318487050166272].",
            "value": "1540318487050166272",
            "type": "https://api.twitter.com/2/problems/not-authorized-for-field"
        },
        {
            "resource_type": "tweet",
            "field": "organic_metrics.user_profile_clicks",
            "parameter": "pinned_tweet_id",
            "resource_id": "1540318487050166272",
            "title": "Field Authorization Error",
            "section": "includes",
            "detail": "Sorry, you are not authorized to access 'organic_metrics.user_profile_clicks' on the Tweet with pinned_tweet_id : [1540318487050166272].",
            "value": "1540318487050166272",
            "type": "https://api.twitter.com/2/problems/not-authorized-for-field"
        },
        {
            "resource_type": "tweet",
            "field": "promoted_metrics.impression_count",
            "parameter": "pinned_tweet_id",
            "resource_id": "1540318487050166272",
            "title": "Field Authorization Error",
            "section": "includes",
            "detail": "Sorry, you are not authorized to access 'promoted_metrics.impression_count' on the Tweet with pinned_tweet_id : [1540318487050166272].",
            "value": "1540318487050166272",
            "type": "https://api.twitter.com/2/problems/not-authorized-for-field"
        },
        {
            "resource_type": "tweet",
            "field": "promoted_metrics.like_count",
            "parameter": "pinned_tweet_id",
            "resource_id": "1540318487050166272",
            "title": "Field Authorization Error",
            "section": "includes",
            "detail": "Sorry, you are not authorized to access 'promoted_metrics.like_count' on the Tweet with pinned_tweet_id : [1540318487050166272].",
            "value": "1540318487050166272",
            "type": "https://api.twitter.com/2/problems/not-authorized-for-field"
        },
        {
            "resource_type": "tweet",
            "field": "promoted_metrics.reply_count",
            "parameter": "pinned_tweet_id",
            "resource_id": "1540318487050166272",
            "title": "Field Authorization Error",
            "section": "includes",
            "detail": "Sorry, you are not authorized to access 'promoted_metrics.reply_count' on the Tweet with pinned_tweet_id : [1540318487050166272].",
            "value": "1540318487050166272",
            "type": "https://api.twitter.com/2/problems/not-authorized-for-field"
        },
        {
            "resource_type": "tweet",
            "field": "promoted_metrics.retweet_count",
            "parameter": "pinned_tweet_id",
            "resource_id": "1540318487050166272",
            "title": "Field Authorization Error",
            "section": "includes",
            "detail": "Sorry, you are not authorized to access 'promoted_metrics.retweet_count' on the Tweet with pinned_tweet_id : [1540318487050166272].",
            "value": "1540318487050166272",
            "type": "https://api.twitter.com/2/problems/not-authorized-for-field"
        },
        {
            "resource_type": "tweet",
            "field": "promoted_metrics.url_link_clicks",
            "parameter": "pinned_tweet_id",
            "resource_id": "1540318487050166272",
            "title": "Field Authorization Error",
            "section": "includes",
            "detail": "Sorry, you are not authorized to access 'promoted_metrics.url_link_clicks' on the Tweet with pinned_tweet_id : [1540318487050166272].",
            "value": "1540318487050166272",
            "type": "https://api.twitter.com/2/problems/not-authorized-for-field"
        },
        {
            "resource_type": "tweet",
            "field": "promoted_metrics.user_profile_clicks",
            "parameter": "pinned_tweet_id",
            "resource_id": "1540318487050166272",
            "title": "Field Authorization Error",
            "section": "includes",
            "detail": "Sorry, you are not authorized to access 'promoted_metrics.user_profile_clicks' on the Tweet with pinned_tweet_id : [1540318487050166272].",
            "value": "1540318487050166272",
            "type": "https://api.twitter.com/2/problems/not-authorized-for-field"
        },
        {
            "resource_type": "tweet",
            "field": "non_public_metrics.impression_count",
            "parameter": "pinned_tweet_id",
            "resource_id": "1460324089726320643",
            "title": "Field Authorization Error",
            "section": "includes",
            "detail": "Sorry, you are not authorized to access 'non_public_metrics.impression_count' on the Tweet with pinned_tweet_id : [1460324089726320643].",
            "value": "1460324089726320643",
            "type": "https://api.twitter.com/2/problems/not-authorized-for-field"
        },
        {
            "resource_type": "tweet",
            "field": "non_public_metrics.url_link_clicks",
            "parameter": "pinned_tweet_id",
            "resource_id": "1460324089726320643",
            "title": "Field Authorization Error",
            "section": "includes",
            "detail": "Sorry, you are not authorized to access 'non_public_metrics.url_link_clicks' on the Tweet with pinned_tweet_id : [1460324089726320643].",
            "value": "1460324089726320643",
            "type": "https://api.twitter.com/2/problems/not-authorized-for-field"
        },
        {
            "resource_type": "tweet",
            "field": "non_public_metrics.user_profile_clicks",
            "parameter": "pinned_tweet_id",
            "resource_id": "1460324089726320643",
            "title": "Field Authorization Error",
            "section": "includes",
            "detail": "Sorry, you are not authorized to access 'non_public_metrics.user_profile_clicks' on the Tweet with pinned_tweet_id : [1460324089726320643].",
            "value": "1460324089726320643",
            "type": "https://api.twitter.com/2/problems/not-authorized-for-field"
        },
        {
            "resource_type": "tweet",
            "field": "organic_metrics.impression_count",
            "parameter": "pinned_tweet_id",
            "resource_id": "1460324089726320643",
            "title": "Field Authorization Error",
            "section": "includes",
            "detail": "Sorry, you are not authorized to access 'organic_metrics.impression_count' on the Tweet with pinned_tweet_id : [1460324089726320643].",
            "value": "1460324089726320643",
            "type": "https://api.twitter.com/2/problems/not-authorized-for-field"
        },
        {
            "resource_type": "tweet",
            "field": "organic_metrics.like_count",
            "parameter": "pinned_tweet_id",
            "resource_id": "1460324089726320643",
            "title": "Field Authorization Error",
            "section": "includes",
            "detail": "Sorry, you are not authorized to access 'organic_metrics.like_count' on the Tweet with pinned_tweet_id : [1460324089726320643].",
            "value": "1460324089726320643",
            "type": "https://api.twitter.com/2/problems/not-authorized-for-field"
        },
        {
            "resource_type": "tweet",
            "field": "organic_metrics.reply_count",
            "parameter": "pinned_tweet_id",
            "resource_id": "1460324089726320643",
            "title": "Field Authorization Error",
            "section": "includes",
            "detail": "Sorry, you are not authorized to access 'organic_metrics.reply_count' on the Tweet with pinned_tweet_id : [1460324089726320643].",
            "value": "1460324089726320643",
            "type": "https://api.twitter.com/2/problems/not-authorized-for-field"
        },
        {
            "resource_type": "tweet",
            "field": "organic_metrics.retweet_count",
            "parameter": "pinned_tweet_id",
            "resource_id": "1460324089726320643",
            "title": "Field Authorization Error",
            "section": "includes",
            "detail": "Sorry, you are not authorized to access 'organic_metrics.retweet_count' on the Tweet with pinned_tweet_id : [1460324089726320643].",
            "value": "1460324089726320643",
            "type": "https://api.twitter.com/2/problems/not-authorized-for-field"
        },
        {
            "resource_type": "tweet",
            "field": "organic_metrics.url_link_clicks",
            "parameter": "pinned_tweet_id",
            "resource_id": "1460324089726320643",
            "title": "Field Authorization Error",
            "section": "includes",
            "detail": "Sorry, you are not authorized to access 'organic_metrics.url_link_clicks' on the Tweet with pinned_tweet_id : [1460324089726320643].",
            "value": "1460324089726320643",
            "type": "https://api.twitter.com/2/problems/not-authorized-for-field"
        },
        {
            "resource_type": "tweet",
            "field": "organic_metrics.user_profile_clicks",
            "parameter": "pinned_tweet_id",
            "resource_id": "1460324089726320643",
            "title": "Field Authorization Error",
            "section": "includes",
            "detail": "Sorry, you are not authorized to access 'organic_metrics.user_profile_clicks' on the Tweet with pinned_tweet_id : [1460324089726320643].",
            "value": "1460324089726320643",
            "type": "https://api.twitter.com/2/problems/not-authorized-for-field"
        },
        {
            "resource_type": "tweet",
            "field": "promoted_metrics.impression_count",
            "parameter": "pinned_tweet_id",
            "resource_id": "1460324089726320643",
            "title": "Field Authorization Error",
            "section": "includes",
            "detail": "Sorry, you are not authorized to access 'promoted_metrics.impression_count' on the Tweet with pinned_tweet_id : [1460324089726320643].",
            "value": "1460324089726320643",
            "type": "https://api.twitter.com/2/problems/not-authorized-for-field"
        },
        {
            "resource_type": "tweet",
            "field": "promoted_metrics.like_count",
            "parameter": "pinned_tweet_id",
            "resource_id": "1460324089726320643",
            "title": "Field Authorization Error",
            "section": "includes",
            "detail": "Sorry, you are not authorized to access 'promoted_metrics.like_count' on the Tweet with pinned_tweet_id : [1460324089726320643].",
            "value": "1460324089726320643",
            "type": "https://api.twitter.com/2/problems/not-authorized-for-field"
        },
        {
            "resource_type": "tweet",
            "field": "promoted_metrics.reply_count",
            "parameter": "pinned_tweet_id",
            "resource_id": "1460324089726320643",
            "title": "Field Authorization Error",
            "section": "includes",
            "detail": "Sorry, you are not authorized to access 'promoted_metrics.reply_count' on the Tweet with pinned_tweet_id : [1460324089726320643].",
            "value": "1460324089726320643",
            "type": "https://api.twitter.com/2/problems/not-authorized-for-field"
        },
        {
            "resource_type": "tweet",
            "field": "promoted_metrics.retweet_count",
            "parameter": "pinned_tweet_id",
            "resource_id": "1460324089726320643",
            "title": "Field Authorization Error",
            "section": "includes",
            "detail": "Sorry, you are not authorized to access 'promoted_metrics.retweet_count' on the Tweet with pinned_tweet_id : [1460324089726320643].",
            "value": "1460324089726320643",
            "type": "https://api.twitter.com/2/problems/not-authorized-for-field"
        },
        {
            "resource_type": "tweet",
            "field": "promoted_metrics.url_link_clicks",
            "parameter": "pinned_tweet_id",
            "resource_id": "1460324089726320643",
            "title": "Field Authorization Error",
            "section": "includes",
            "detail": "Sorry, you are not authorized to access 'promoted_metrics.url_link_clicks' on the Tweet with pinned_tweet_id : [1460324089726320643].",
            "value": "1460324089726320643",
            "type": "https://api.twitter.com/2/problems/not-authorized-for-field"
        },
        {
            "resource_type": "tweet",
            "field": "promoted_metrics.user_profile_clicks",
            "parameter": "pinned_tweet_id",
            "resource_id": "1460324089726320643",
            "title": "Field Authorization Error",
            "section": "includes",
            "detail": "Sorry, you are not authorized to access 'promoted_metrics.user_profile_clicks' on the Tweet with pinned_tweet_id : [1460324089726320643].",
            "value": "1460324089726320643",
            "type": "https://api.twitter.com/2/problems/not-authorized-for-field"
        }
    ]
}
curl --location --request GET 'https://us-central1-appgregator.cloudfunctions.net/twitter/users/user-by-id-expanded?name=qantor.co.id&connection_name=twitter-1&id=2621412174,783214,2244994945,6253282,495309159' \
--header 'x-api-key: 43c464439b5507293ba7b315c9875907'

Last updated