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

how to read truncated tweets #338

Open
mayorityz opened this issue Apr 12, 2020 · 1 comment
Open

how to read truncated tweets #338

mayorityz opened this issue Apr 12, 2020 · 1 comment

Comments

@mayorityz
Copy link

Is there a way to read truncated texts? I think there used to be a long_text or something in the return tweet object.

Thanks.

@ghost
Copy link

ghost commented Apr 20, 2020

I'm doing it like this:
client.get('statuses/show', {id: tweetId, tweet_mode: 'extended'}, (error, tweet)=>{ if(error){ console.log(error) } console.log(tweet.full_text); });

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

1 participant