Users
GET https://api.twitter.com/labs/1/users?ids&usernames=&format&tweet.format&user.format
This endpoint returns information about users. You can specify users by their ID or username.
For full details, see the API reference for this endpoint.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
ids | null | Required unless using usernames (if you're using this parameter, uncheck usernames). A comma separated list of User IDs. Up to 100 are allowed in a single request. | |
usernames | null | Required unless using ids (if you're using this parameter, uncheck ids). A comma separated list of User IDs. Up to 100 are allowed in a single request. | |
format | null | Format for all the objects returned as part of the response, including expansions. |
Allowed values: default, compact, detailed
Default value: default |
| tweet.format
| null | | Format for all Tweet objects returned in response. Can be used together with other format parameters to expand or reduce Tweet objects only.
Allowed values: default, compact, detailed
Default value: default |
| user.format
| null | | Format for all User objects returned in response. Can be used together with other format parameters to expand or reduce User objects only.
Allowed values: default, compact, detailed
Default value: default |