from:XDevelopers
In Postman, navigate to the “Params” tab and enter this ID, or a string of Post IDs separated by a comma, into the “Value” column of the ids
parameter.
Key | Value | Description |
query | from:XDevelopers | Search query to submit to the recent search endpoint |
edit_history_tweet_ids
. If you would like to receive additional fields beyond id , text, and edit_history_tweet_ids
, you will have to specify those fields in your request with the field and/or expansion parameters.
For this exercise, we will request a four different sets of fields from different objects:
Key | Value | Returned fields |
tweet.fields | created_at | tweets.created_at |
expansions | author_id | includes.users.id , includes.users.name , includes.users.username |
user.fields | description | includes.users.description |
https://api.x.com/2/tweets/search/recent?query=from:XDevelopers&tweet.fields=created_at&expansions=author_id&user.fields=created_at
Step five: Make your request and review your response
Once you have everything set up, hit the “Send” button and you will receive the following response: