How do I get retweet counts for a particular tweet I download from the streaming API?


#1

#2

I download tweets with the Streaming API using simple CSDL contains queries, and I don’t see any data regarding retweets in any of the JSON records that the API returns.


#3

Take a look at these Output Format Examples to see what Tweets and Retweets should look like. 

If you are using the twitter.text target, you will only receive Tweets - no Retweets. If you want both Tweets and Retweets, look at using interaction.content, and interaction.type to limit the data sources to Twitter only.