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

uncomplete tweet text obtained #17

Open
Chealkeo opened this issue May 9, 2020 · 1 comment
Open

uncomplete tweet text obtained #17

Chealkeo opened this issue May 9, 2020 · 1 comment

Comments

@Chealkeo
Copy link

Chealkeo commented May 9, 2020

Hi, I wonder why the tweet we obtained using source code in chapter2 is uncomplete, almost 100 characters or so end with the tweet link. Is this the shortcoming by using api?
look forward for ur reply, thanks

@bonzanini
Copy link
Owner

The API has changed since the book was published, in particular Twitter enabled tweets with more characters than before.

The changes are described here: https://developer.twitter.com/en/docs/tweets/tweet-updates

In summary, you may want to look into the fields extended_tweet and full_text. The field text is still there for compatibility but it may be truncated for longer tweets.

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

No branches or pull requests

2 participants