twit icon indicating copy to clipboard operation
twit copied to clipboard

Get tweets with multiple keywords

Open evilprince2009 opened this issue 3 years ago • 0 comments

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 ?

evilprince2009 avatar Nov 17 '21 11:11 evilprince2009