How can I search for usernames, for example "@time"


#1

hello ,

I was testing some filters to get use to with CSDL . I was trying to get tweets that contains “@TIME” ( a magazine) ,but after few tries i realized that i am searching for “@time” and i am getting results with tweets containing word “time” which is of no use. After some tries i had little success and below is the CSDL i am currently using to get @time tweets which is little slow.

language.tag != "es" and ( (twitter.text contains "&#64time") or links.domain contains "time.com" or links.domain contains_any "ti.me,time.com" or twitter.retweet.text contains_any "ti.me,time.com" or twitter.links contains_any "ti.me,time.com")
but i am stil not able to specifically check for the tweets that has "@TIME" , if anyone knows that can help in improving the CSDL for @TIME ttweets would be great. I really appreciate.

Thank you


#2

Thanks in advance.


#3

I think the target you are looking for is twitter.mentions - this looks for any instances of a Twitter username in a Tweet. It would be used in the following way:

twitter.mentions in "time"

Note: You don't need to prefix the username with the @ symbol. 

 

If you are also filtering for links to the Time website, the best way to do this would be with our Links Augmentation:

links.domain in "time.com"

Note: You do not have to include the "ti.me" short URL as our links augmentation automatically resolves each link to it's final endpoint. 

If you are particularly interested in picking up short URLs, you need to use the twitter.domains target, which looks for links as they are included in Tweets, not the fully resolved URL.


#4

Thank you very much, it was helpful .