User lookup by usernames
GET
/2/users/byThis endpoint returns information about users. Specify users by their username.
Request
Query Params
usernames
array[string]
required
Required . A list of usernames, comma-separated. You can specify up to 100 usernames.
Example:
TwitterDev,TwitterAPI,jack
expansions
array[string]
optional
A comma separated list of fields to expand.
tweet.fields
array[string]
optional
A comma separated list of Tweet fields to display.
user.fields
array[string]
optional
A comma separated list of User fields to display.
Request samples
Responses
The request was successful(200)
500(500)
The request was successful
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
No schema defined
Example
Not configured
Last modified: 2 years ago