edit_history_tweet_ids
, which is a default field in the Post payload. This array will contain at least one ID, the ID of the original, unedited Post. When there is only one ID that means the Post has no edit history. edit_controls
in your tweet.fields parameter.edit_history_tweet_ids
using the expansion parametercurl --request GET 'https://api.x.com/2/users/:id/tweets' --header 'Authorization: Bearer $BEARER_TOKEN'
Sample Response:
curl --request GET 'https://api.x.com/2/users/:id/tweets?tweet.fields=edit_control' --header 'Authorization: Bearer $BEARER_TOKEN'
Sample Response:
edit_history_tweet_ids
. The Post objects that make up the edit history will be provided in the “includes” object.
Request: