Skip to content

Support archiving Tweets with more than 280 characters - #702

Open
eferm wants to merge 1 commit into
DocNow:mainfrom
eferm:patch-1
Open

Support archiving Tweets with more than 280 characters#702
eferm wants to merge 1 commit into
DocNow:mainfrom
eferm:patch-1

Conversation

@eferm

@eferm eferm commented Oct 31, 2023

Copy link
Copy Markdown

Adds note_tweet to tweet.fields. This is necessary to support the new 10k long "note" Tweets available to Twitter Blue subscribers (the existing text field only includes a truncated Tweet).

From the docs:

Information about Tweets with more than 280 characters.

To return this field, add tweet.fields=note_tweet in the request's query parameter.

https://developer.twitter.com/en/docs/twitter-api/tweets/lookup/api-reference/get-tweets
https://developer.twitter.com/en/docs/twitter-api/tweets/likes/api-reference/get-users-id-liked_tweets
etc.

@igorbrigadir

Copy link
Copy Markdown
Contributor

Oh is this all that's needed? Looks good to me! I've no way of testing this unfortunately - so a few example payloads would be great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants