twit
twit copied to clipboard
Get tweets with multiple keywords
T.get('search/tweets', { q: 'banana since:2011-07-11', count: 100 }, function(err, data, response) { console.log(data) })
As stated in README , this piece of code will get me all tweets with keyword 'banana' within given time frame. I want to know is there a way to find tweets with multiple key words. Something like I want to pass a array of strings to 'q' rather than just a single string.
For example if I pass ["banana", "apple"]
, I should be served with those tweets that contain at least one of "banana" or "apple" or both "banana" and "apple". Can anyone help ?