Skip to content

feat(read-post): request note_tweet and article fields for long-form …#67

Open
kenkenchu wants to merge 1 commit intoxdevplatform:mainfrom
kenkenchu:pr/long-form-articles
Open

feat(read-post): request note_tweet and article fields for long-form …#67
kenkenchu wants to merge 1 commit intoxdevplatform:mainfrom
kenkenchu:pr/long-form-articles

Conversation

@kenkenchu
Copy link
Copy Markdown

Summary

  • Adds note_tweet and article to the tweet.fields parameter in ReadPost
  • The X API will now return long-form article and Notes content when present on a post
  • No change to the public function signature — callers receive the additional fields as part of the
    existing raw JSON response

Test plan

  • Run xurl read <post-id> on a post that is an X Note — verify note_tweet field appears in
    the response
  • Run xurl read <post-id> on a post that links to a long-form article — verify article field
    appears in the response
  • Run xurl read <post-id> on a regular post — verify existing behaviour is unchanged

…content

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Apr 25, 2026

CLA assistant check
All committers have signed the CLA.

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.

2 participants