From 173a4303327ed74bc1104bdca09f21422a48bd5b Mon Sep 17 00:00:00 2001 From: Ken Chu Date: Sat, 25 Apr 2026 07:27:16 -0700 Subject: [PATCH] feat(read-post): request note_tweet and article fields for long-form content Co-Authored-By: Claude Sonnet 4.6 --- api/shortcuts.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/shortcuts.go b/api/shortcuts.go index 5d091a9..8eafc04 100644 --- a/api/shortcuts.go +++ b/api/shortcuts.go @@ -152,7 +152,7 @@ func ReadPost(client Client, postID string, opts RequestOptions) (json.RawMessag postID = ResolvePostID(postID) opts.Method = "GET" - opts.Endpoint = fmt.Sprintf("/2/tweets/%s?tweet.fields=created_at,public_metrics,conversation_id,in_reply_to_user_id,referenced_tweets,entities,attachments&expansions=author_id,referenced_tweets.id&user.fields=username,name,verified", postID) + opts.Endpoint = fmt.Sprintf("/2/tweets/%s?tweet.fields=created_at,public_metrics,conversation_id,in_reply_to_user_id,referenced_tweets,entities,attachments,note_tweet,article&expansions=author_id,referenced_tweets.id&user.fields=username,name,verified", postID) opts.Data = "" return client.SendRequest(opts)