Followers of user ID
GET https://api.twitter.com/2/users/:id/followers
Returns a list of users who are followers of the specified user ID. For full details, see the API reference for this endpoint.
Body
PARAM
Key | Datatype | Required | Description |
user.fields
|
null | Comma-separated fields for the user object. Allowed values: created_at,description,entities,id,location,name,pinned_tweet_id,profile_image_url,protected,public_metrics,url,username,verified,withheld Default values: id,name,username | |
expansions
|
null | Expansions enable requests to expand an ID into a full object in the includes response object. Allowed value: pinned_tweet_id Default value: none | |
tweet.fields
|
null | Comma-separated list of fields for the Tweet object. Expansion required. Allowed values: attachments,author_id,context_annotations,conversation_id,created_at,entities,geo,id,in_reply_to_user_id,lang,non_public_metrics,organic_metrics,possibly_sensitive,promoted_metrics,public_metrics,referenced_tweets,source,text,withheld Default values: id,text OAuth1.0a User Context authorization required if any of the following fields are included in the request: non_public_metrics,organic_metrics,promoted_metrics | |
max_results
|
null | The maximum number of search results to be returned by a request. Allowed values: 10 through 5000. Default value: 100 | |
pagination_token
|
null | This parameter is used to get the next 'page' of results. The value used with the parameter is pulled directly from the response provided by the API, and should not be modified. |
HEADERS
Key | Datatype | Required | Description |
RESPONSES
status