Skip to content

fix: handle x-client-transaction-id fetch failure gracefully#197

Closed
mohamedorigami-jpg wants to merge 2 commits into
the-convocation:mainfrom
mohamedorigami-jpg:fix/xctxid-fetch-failure
Closed

fix: handle x-client-transaction-id fetch failure gracefully#197
mohamedorigami-jpg wants to merge 2 commits into
the-convocation:mainfrom
mohamedorigami-jpg:fix/xctxid-fetch-failure

Conversation

@mohamedorigami-jpg

Copy link
Copy Markdown

Closes #194

Updates getLatestTweet() to filter out pinned tweets when iterating
through the user timeline. Pinned tweets always appear first in the
timeline response, so they were being returned as the 'latest' tweet.

The Tweet type already had an isPin field populated by both the V1 and
V2 timeline parsers, so this just adds a check in getLatestTweet to
skip any tweet where isPin is true.

Closes #164
@mohamedorigami-jpg mohamedorigami-jpg closed this by deleting the head repository Jun 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fail to get liked tweets using auth cookies

1 participant