bti
bti copied to clipboard
Use full_text when possible to avoid truncated tweets
Twitter only sends the full content of tweets if one explicitly asks for it with the tweet_mode=extended parameter. It then sends the content in a key name "full_text", except for retweets where the content has to be found farther down the JSON. In this case, I try to reconstruct the "RT @USER: tweet" format.