Skip to content

fix(twitter): send X-Client-Transaction-Id for UserTweetsAndReplies#21787

Open
15cm wants to merge 1 commit intoDIYgod:masterfrom
15cm:fix/twitter-x-client-transaction-id
Open

fix(twitter): send X-Client-Transaction-Id for UserTweetsAndReplies#21787
15cm wants to merge 1 commit intoDIYgod:masterfrom
15cm:fix/twitter-x-client-transaction-id

Conversation

@15cm
Copy link
Copy Markdown

@15cm 15cm commented Apr 21, 2026

Summary

UserTweetsAndReplies now sends X-Client-Transaction-Id on web API requests.

Without this header, X returns 404 for the UserTweetsAndReplies GraphQL endpoint, which breaks /twitter/user/:id when replies are included.

Fix

  • generate a client transaction id for the UserTweetsAndReplies request path
  • pass X-Client-Transaction-Id through the existing web API request helper

Fixes #18894.

@github-actions github-actions Bot added dependencies This PR involves changes to dependencies route labels Apr 21, 2026
@15cm 15cm force-pushed the fix/twitter-x-client-transaction-id branch from e6e2acb to dc61895 Compare April 21, 2026 01:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies This PR involves changes to dependencies route

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Twitter API UserTweetsAndReplies 404 Not Found

1 participant