DeleteTweets icon indicating copy to clipboard operation
DeleteTweets copied to clipboard

anyone facing this issue?

Open prajjwaldevkota opened this issue 8 months ago • 17 comments

Image

I cant for the life of me figure out what is wrong.

prajjwaldevkota avatar Apr 21 '25 14:04 prajjwaldevkota

I've got a candidate fix in my fork if you want to try that before I raise a pull request.

Colin-Mac-Donald avatar Apr 23 '25 19:04 Colin-Mac-Donald

Nope, it still does not work still the same issue

prajjwaldevkota avatar Apr 24 '25 15:04 prajjwaldevkota

I've got a candidate fix in my fork if you want to try that before I raise a pull request.

Doesn't work for me either

jattak47 avatar Apr 28 '25 10:04 jattak47

Not working, 404

ianfife avatar Apr 28 '25 18:04 ianfife

yeah same error

ma-rg avatar Apr 28 '25 19:04 ma-rg

Same Error

slishnevsky avatar Apr 29 '25 16:04 slishnevsky

I got a true fix in my fork. They changed some things not only with X-Client-UUID but also the Request-Parameters and even the Response-Format. So it had to be rebuilt https://github.com/NietzscheKadse/XeetEntfernierer

NietzscheKadse avatar May 01 '25 20:05 NietzscheKadse

This too doesnt work lol.

prajjwaldevkota avatar May 01 '25 21:05 prajjwaldevkota

This too doesnt work lol.

Worked for me and a friend, are you sure you are following the instructions? They are not the same as with this project. You have to go to your Replies-Tab on your X-Profile and then select the correct request (It HAS to be "UserTweetsAndReplies?v...."

https://imgur.com/a/f7dvNTe

If it really doesn't work, can you open an Issue in my fork and post the exact Error?

NietzscheKadse avatar May 01 '25 21:05 NietzscheKadse

@NietzscheKadse thanks! It's working. But I had to update the var random_resource to use the one github provided on the first query.

mateuspontes avatar May 01 '25 22:05 mateuspontes

@NietzscheKadse thanks! It's working. But I had to update the var random_resource to use the one github provided on the first query.

Thanks for that feedback! I will implement some small fixes over the weekend (i.e. solving the problem where it just skips some tweets when deleting), so I will look into that issue with random_resource too.

NietzscheKadse avatar May 01 '25 22:05 NietzscheKadse

@NietzscheKadse @mateuspontes Didn't work for me either, but Idk how to update the var random_resource

jattak47 avatar May 02 '25 01:05 jattak47

@jattak47 Switch to the Replies tab, and open the console to get the headers.

The URL for UserTweetsAndReplies is something like this:

Request URL:
https://x.com/i/api/graphql/XXXXXXXXXXXXXXXXXXXXXX/UserTweetsAndReplies?variables=

Image

The XXXX above is the "random_resource" variable value to use.

mateuspontes avatar May 02 '25 13:05 mateuspontes

@mateuspontes Confirmed working, thank you.

jattak47 avatar May 02 '25 18:05 jattak47

This too doesnt work lol.

Worked for me and a friend, are you sure you are following the instructions? They are not the same as with this project. You have to go to your Replies-Tab on your X-Profile and then select the correct request (It HAS to be "UserTweetsAndReplies?v...."

https://imgur.com/a/f7dvNTe

If it really doesn't work, can you open an Issue in my fork and post the exact Error?

wow this actually worked! tysm!!

ma-rg avatar May 09 '25 13:05 ma-rg

This too doesnt work lol.

Worked for me and a friend, are you sure you are following the instructions? They are not the same as with this project. You have to go to your Replies-Tab on your X-Profile and then select the correct request (It HAS to be "UserTweetsAndReplies?v...."

https://imgur.com/a/f7dvNTe

If it really doesn't work, can you open an Issue in my fork and post the exact Error?

I'm still getting the same error even when pulling the variables from the user tweets and replies section. Unsure of what's up here

dmontero3 avatar May 13 '25 12:05 dmontero3

This too doesnt work lol.

Worked for me and a friend, are you sure you are following the instructions? They are not the same as with this project. You have to go to your Replies-Tab on your X-Profile and then select the correct request (It HAS to be "UserTweetsAndReplies?v...."

https://imgur.com/a/f7dvNTe

If it really doesn't work, can you open an Issue in my fork and post the exact Error?

I recorded the authorization, client_tid and random_resource from the "UserTweetsAndReplies?v...." request (while on the Replies tab of my profile) ... Now instead of getting a 404, I the following 400 error:

(fetch_tweets) Network response was not ok, status: 400, retrying in 20 seconds VM615:145 {"errors":[{"message":"The following features cannot be null: payments_enabled","extensions":

Am I overlooking something or did X change things around again? Thanks

*** Edit/Update ***

In addition to the above, I was able to get NietzscheKadse's fork working by adding the following:

Append this to the features strings:

payments_enabled%22%3Afalse%7D

Add these parameters:

fieldToggles = &fieldToggles=%7B%22withArticleRichContentState%22%3Afalse%7D;

extensions = &extensions=%7B%22persistedQuery%22%3A%7B%22version%22%3A1%2C%22sha256Hash%22%3A%22b6ec8cdea6cd23fbb8078b0a7a1d888e6a9fa5df9d1cd15f3547db63f3e7eab9%22%7D%7D; Update the final URL:

const final_url = ${base_url}${variable}${feature}${fieldToggles}${extensions};

Full disclosure:

I know very little about what I’m doing 😅

ChatGPT helped

It’s working now (as of June 24, 2025)

Someone more experienced should definitely vet this before putting it into production.

caddisguy avatar Jun 24 '25 23:06 caddisguy