As the title says, I'm using the Twitter4J API and I cannot seem to find how to count the retweets of a "Tweet" instance.
The interface StatusMethodsAsync
has a getRetweets()
function (as described here) but that only shows the top 100 first retweets of a given tweet. If you know that there are less than 100 retweets this should work. If there are more you have in the interface TwitterStream
a stream of all retweets (as described here), but that doesn't seem fully functioning, so I wouldn't know then...
But this could get you on the right track.
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