Historics and multiple activities per user



I would like to write a query that returns users who used a certain hashtag AND shared a certain link – but not in the same tweet, just in the timeframe of the historics query. Is this possible? If so, how?



Hi Amanda,

You would write a query similar to:

(interaction.content contains_any "#somehashtag" OR links.url "http://link.to.your.url"and interaction.type == "twitter"

A Historics job will give you tweets and retweets that satisfy either condition (hashtag or link) during the timeframe specified. However, you will have to de-dupe the results to collect the list of users. 


Okay, I was hoping I wouldn’t have to do that, but thanks.