node-twitter icon indicating copy to clipboard operation
node-twitter copied to clipboard

how to read truncated tweets

Open mayorityz opened this issue 6 years ago • 1 comments

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.

mayorityz avatar Apr 12 '20 17:04 mayorityz

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); });

ghost avatar Apr 20 '20 20:04 ghost