I have found this question. However I think this has changed on API version 1.1.
If I use the search/tweets
method, how can I see if the tweet is a RT? I see that the retweeted
field always returns false
. Is there another field I can use for this answer?
Try to access to a tweet with his ID and the author_name. Automatically, it's redirect to the original tweet (different ID and author_name). After some search I found people talking about a "retweeted_status" key. If the key exit, so it's a RT.
To get the list of retweeters, we simply do an API call to statuses/retweeters/ids.
Yes, this happens. And you can be notified of it. In Settings, there is an "Activity related to your Retweets" section.
Twitter unfortunately doesn't support searching of tweets using regular expressions which means that you do have to post process. There's not actually any official documentation from Twitter to that effect, but everyone who uses the Twitter search API post-processes their tweets using regex (including me).
If it's a retweet, the tweet will contain a property named retweeted_status
. To be complete, retweeted_status
will not appear if the tweet is not a retweet. More info at: Tweets.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With