Tweets
This endpoints returns information about the Tweet specified by the requested IDs.
For full details, see the API reference for this endpoint.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
ids | null | Required. A comma separated list of Tweet 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 |
| place.format
| null | | Format for all Place objects returned in response. Can be used together with other format parameters to expand or reduce Place objects only.
Allowed values: default, compact, detailed
Default value: default |
| expansions
| null | | Comma-separated list fo fields to expand. Expansions enable requests to expand an ID into a full object in the includes response object.
Allowed values: attachments.poll_ids, attachments.media_keys, author_id, geo.place_id, in_reply_to_user_id, referenced_tweets.id
Default values: none |