Post, retrieve and engage with Tweets
GET statuses/show/:id¶
Returns a single Tweet, specified by the id parameter. The Tweet’s author will also be embedded within the Tweet.
See GET statuses / lookup for getting Tweets in bulk (up to 100 per call). See also Embedded Timelines, Embedded Tweets, and GET statuses/oembed for tools to render Tweets according to Display Requirements.
About Geo
If there is no geotag for a status, then there will be an empty <geo/>
or "geo" : {}
. This can only be populated if the user has used the Geotagging API to send a statuses/update.
The JSON response mostly uses conventions laid out in GeoJSON. The coordinates that Twitter renders are reversed from the GeoJSON specification (GeoJSON specifies a longitude then a latitude, whereas Twitter represents it as a latitude then a longitude), eg: "geo": { "type":"Point", "coordinates":[37.78029, -122.39697] }
Resource URL¶
https://api.twitter.com/1.1/statuses/show.json
Resource Information¶
Response formats | JSON |
Requires authentication? | Yes |
Rate limited? | Yes |
Requests / 15-min window (user auth) | 900 |
Requests / 15-min window (app auth) | 900 |
Parameters¶
Name | Required | Description | Default Value | Example |
id | required | The numerical ID of the desired Tweet. | 123 | |
trim_user | optional | When set to either true , t or 1 , each Tweet returned in a timeline will include a user object including only the status authors numerical ID. Omit this parameter to receive the complete user object. | true | |
include_my_retweet | optional | When set to either true , t or 1 , any Tweets returned that have been retweeted by the authenticating user will include an additional current_user_retweet node, containing the ID of the source status for the retweet. | true | |
include_entities | optional | The entities node will not be included when set to false. | false | |
include_ext_alt_text | optional | If alt text has been added to any attached media entities, this parameter will
return an ext_alt_text value in the top-level key for the media entity. If
no value has been set, this will be returned as null |
true | |
include_card_uri | optional | When set to either true , t or 1 , the retrieved Tweet will include a card_uri attribute when there is an ads card attached to the Tweet and when that card was attached using the card_uri value. | true |
Example Request¶
GET https://api.twitter.com/1.1/statuses/show.json?id=210462857140252672
Example Response¶
{
"coordinates": null,
"favorited": false,
"truncated": false,
"created_at": "Wed Jun 06 20:07:10 +0000 2012",
"id_str": "210462857140252672",
"entities": {
"urls": [
{
"expanded_url": "/terms/display-guidelines",
"url": "https://t.co/Ed4omjYs",
"indices": [
76,
97
],
"display_url": "dev.twitter.com/terms/display-…"
}
],
"hashtags": [
{
"text": "Twitterbird",
"indices": [
19,
31
]
}
],
"user_mentions": [
]
},
"in_reply_to_user_id_str": null,
"contributors": [
14927800
],
"text": "Along with our new #Twitterbird, we've also updated our Display Guidelines: https://t.co/Ed4omjYs ^JC",
"retweet_count": 66,
"in_reply_to_status_id_str": null,
"id": 210462857140252672,
"geo": null,
"retweeted": true,
"possibly_sensitive": false,
"in_reply_to_user_id": null,
"place": null,
"user": {
"profile_sidebar_fill_color": "DDEEF6",
"profile_sidebar_border_color": "C0DEED",
"profile_background_tile": false,
"name": "Twitter API",
"profile_image_url": "http://a0.twimg.com/profile_images/2284174872/7df3h38zabcvjylnyfe3_normal.png",
"created_at": "Wed May 23 06:01:13 +0000 2007",
"location": "San Francisco, CA",
"follow_request_sent": false,
"profile_link_color": "0084B4",
"is_translator": false,
"id_str": "6253282",
"entities": {
"url": {
"urls": [
{
"expanded_url": null,
"url": "",
"indices": [
0,
22
]
}
]
},
"description": {
"urls": [
]
}
},
"default_profile": true,
"contributors_enabled": true,
"favourites_count": 24,
"url": "",
"profile_image_url_https": "https://si0.twimg.com/profile_images/2284174872/7df3h38zabcvjylnyfe3_normal.png",
"utc_offset": -28800,
"id": 6253282,
"profile_use_background_image": true,
"listed_count": 10774,
"profile_text_color": "333333",
"lang": "en",
"followers_count": 1212963,
"protected": false,
"notifications": null,
"profile_background_image_url_https": "https://si0.twimg.com/images/themes/theme1/bg.png",
"profile_background_color": "C0DEED",
"verified": true,
"geo_enabled": true,
"time_zone": "Pacific Time (US & Canada)",
"description": "The Real Twitter API. I tweet about API changes, service issues and happily answer questions about Twitter and our API. Don't get an answer? It's on my website.",
"default_profile_image": false,
"profile_background_image_url": "http://a0.twimg.com/images/themes/theme1/bg.png",
"statuses_count": 3333,
"friends_count": 31,
"following": true,
"show_all_inline_media": false,
"screen_name": "twitterapi"
},
"in_reply_to_screen_name": null,
"source": "web",
"in_reply_to_status_id": null
}
This request could also be obtained with: GET https://api.twitter.com/1.1/statuses/show/210462857140252672.json