id author title date pages extension mime words sentences flesch summary cache txt developer-twitter-com-2901 Fields | Twitter Developer .html text/html 1041 124 69 The Twitter API v2 endpoints are equipped with a new set of parameters called fields, which allows you to select just the data that you want from each of our objects in your endpoint response. For example, if you only need to retrieve a Tweet's created date, or a user's bio description, you can specifically request that data to return with a set of other default fields without the full set of fields that associate with that data object. If you are interested in receiving the public metrics of the Tweets that are returned in the response, you will want to include the tweet.fields parameter in your request, with public_metrics set as the value. --url 'https://api.twitter.com/2/tweets/search/recent?query=from%3Atwitterdev&tweet.fields=public_metrics' \ --url 'https://api.twitter.com/2/tweets/search/recent?query=from%3Atwitterdev&tweet.fields=public_metrics&expansions=author_id&user.fields=description' \ To expand and request fields on an object that is not that endpoint's primary resource, use the expansions parameter with fields. ./cache/developer-twitter-com-2901.html ./txt/developer-twitter-com-2901.txt