I am using twitter search api
https://dev.twitter.com/docs/using-search
I want to search for a word (exact match) and count the no of mentions or hashtags of that word (exact match).
I have tried q="json" OR #json OR @json but they retun something like json_decode or @json_dude but I want exact match.
Also, is there anyway to count the no of retweets without ‘popular’ search ?
You cannot do exact search like this, there’s no way.
You can do exact search only when you are not using `OR’
i.e. you can do
q="json"but notq="json" OR #json OR @json.But you can count the retweets by looking at field
in_reply_to_status_id_str.Each
in_reply_to_status_id_strrepresents that its a reply against a tweet , thus a retweet 🙂