Hello. I have a Standard API and I’m using R package twitteR to scrape tweets. Let’s use a concrete example to describe what I’d like to know. Let’s say I have an user A that tweets a tweet. User B retweets A’s tweet. User C retweets user’s B retweet, that was in turn the retweet of A’s tweet.
The B’s tweet appears like, e.g.,
RT @A : text of the tweet
But what happens for C’s tweet? It should still be:
RT @A : text of the tweet
or, instead:
RT @B : text of the tweet
?
I hope I’m making myself clear.
Thank you!
1 Like
Unfortunately no, you can’t get the chain of retweets, only the original tweet and the retweet itself.
So the retweet will always be RT @A ... (but remember you should dig into the tweet object and extract the full_text from retweeted_status instead of the text in the retweet to get the right thing)
This is for native retweets.
For a “Retweet with comment” which are just ordinary tweets with a permalink to another tweet, you can extract the full chain like this one for example:
In JSON you only get the original tweet and quoted tweet, not anything else deeper so you’ll have to recursively dig in to get the full chain, takes more calls but it’s possible.
2 Likes