I deleted a tweet and saw this request:
HTTP POST https://x.com/i/api/graphql/VstuveVgh5q5jk7lmnVopqr/DeleteTweet { "variables": { "tweet_id":"12344567899123", "dark_request":false }, "queryId":"VstuveVgh5q5jk7lmnVopqr" }
### Update, this is the pure javascript console way, if you don't want to write your own client doing HTTP posts
I played with the console more and got these parts:
// Find all tweets on screen (this gives you the tweet IDs too)
document.querySelectorAll('a > time')
document.querySelectorAll('a > time')[0].parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.querySelector('button').click()
document.querySelectorAll('[data-testid="Dropdown"]')[0].children[0].click()
document.querySelectorAll('[data-testid="confirmationSheetConfirm"]')[0].click()
I deleted a tweet and saw this request:
You can execute these from javascript in the browser if the auth part is too complicated.### Update, this is the pure javascript console way, if you don't want to write your own client doing HTTP posts
I played with the console more and got these parts:
// Find all tweets on screen (this gives you the tweet IDs too)
// Click the "more" button on the first tweet // Click delete on the tweet // Confirm delete