Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support archiving Tweets with more than 280 characters #702

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

eferm
Copy link

@eferm eferm commented Oct 31, 2023

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
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants