id author title date pages extension mime words sentences flesch summary cache txt developer-twitter-com-2745 Expansions | Twitter Developer .html text/html 1007 127 60 With expansions, developers can expand objects referenced in the payload. For example, the referenced_tweets.id and author_id fields returned in the Tweets lookup payload can be expanded into complete objects. If you would like to request fields related to the user that posted that Tweet, or the media, poll, or place that was included in that Tweet, you will need to pass the related expansion query parameter in your request to receive that data in your response. It helps return additional data in the same response without the need for separate requests. attachments.media_keys Returns a media object representing the images, videos, GIFs included in the Tweet attachments.poll_ids Returns a poll object containing metadata for the poll included in the Tweet Expanding the media, Tweet, and user objects curl 'https://api.twitter.com/2/tweets/1212092628029698048?expansions=attachments.media_keys,referenced_tweets.id,author_id' --header 'Authorization: Bearer $BEARER_TOKEN' curl 'https://api.twitter.com/2/tweets/1199786642791452673?expansions=attachments.poll_ids' --header 'Authorization: Bearer $BEARER_TOKEN' curl 'https://api.twitter.com/2/tweets/:ID?expansions=geo.place_id' --header 'Authorization: Bearer $BEARER_TOKEN' ./cache/developer-twitter-com-2745.html ./txt/developer-twitter-com-2745.txt