ttezel / twit

Twitter API Client for node (REST & Streaming API)
4.32k stars 573 forks source link

Get tweets with multiple keywords #564

Open evilprince2009 opened 2 years ago

evilprince2009 commented 2 years ago

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 ?