Are complex queries possible using the twitter API? For example in the example queries shown in the dev site can I have my query be something like:
("chocolate" AND "cat") OR ("super ninja" AND "ghost" AND "person" but NOT "dog")
The queries in the site look really simple and I'm wondering if you can have multiple at the same time, AND as well as OR in a query or is it mutually exclusive?
I tried googling around but I could only find one word example queries (useless). does this mean that I can join the developer documentation examples from the site and mesh them in one query like so:
q="chocolate cat -dog OR super ninja ghost person -dog"
is the above query the same result as the first statement with the AND/OR?
I have been using TwitterSearch library but I can only do queries such as:
"chocolate" AND "cat"
"chocolate" OR "dog"
I might be able to do the following but haven't tested yet:
("chocolate" OR "cat") AND "person"
(page 22 TwitterSearch library doc).
Also the library allows for NOT but I can't tell if I can use both AND and OR then a NOT. This is also on page 22 under 'excepting keywords'
This is not complex enough to my taste, I am open to any other libraries/wrapper that have more complexity in their query searches but I am not sure if twitter even has this complexity in their API.
Thank you,and any links you have would be much appreciated as well.