Cannot find the truncated attribute

13 views
Skip to first unread message

Sebastian Huppmann

unread,
Nov 1, 2017, 11:04:58 AM11/1/17
to rtweet
Hi there,

thank you very much for rtweets. It's very useful.

Is it possible to search for the following attribute in the result?

Indicates whether the value of the text parameter was truncated, for example, as a result of a retweet exceeding the original Tweet text length limit of 140 characters. Truncated text will end in ellipsis, like this ... Since Twitter now rejects long Tweets vs truncating them, the large majority of Tweets will have this set to false . Note that while native retweets may have their toplevel text property shortened, the original text will be available under the retweeted_status object and the truncated parameter will be set to the value of the original status (in most cases, false ). Example:

"truncated":true

mike.wayn...@gmail.com

unread,
Nov 1, 2017, 1:37:26 PM11/1/17
to rtweet
By default, rtweet actually requests the "extended" tweets for all functions (it then swaps out the truncated text for the extended/full text). The only exceptions are when it's a retweet or a quoted text. To help deal with that, tweets data functions now return "retweet_text" and "quoted_text" variables with the full text of each.
Reply all
Reply to author
Forward
0 new messages