streamR icon indicating copy to clipboard operation
streamR copied to clipboard

parseTweets() not capturing complete text of tweet if it is a retweet.

Open praneethkvs opened this issue 7 years ago • 1 comments

@pablobarbera

The text field in the output of parseTweets() is not capturing the whole content of a tweet, especially if it is a retweet. I ended up with almost half of the tweets abruptly ending in "...".

I can get the complete content of the text only if i parse it using the "rjson" and then extracting it using tweet$retweeted_status$text . Is this because of the new extended tweets feature in twitter ?

praneethkvs avatar Mar 05 '17 14:03 praneethkvs

Hi @praneethkvs . Thanks for opening the issue. This is what the API returns -- the 'text' field in any tweet that is a retweet follows this format, and this has been the case for a while now. I'm reluctant to make any changes to the package because this is the expected behavior, but as you mention, you can also use 'readTweets' and then extract the specific fields that you're interested in.

pablobarbera avatar Mar 05 '17 22:03 pablobarbera