Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get tweets with multiple keywords #564

Open
evilprince2009 opened this issue Nov 17, 2021 · 0 comments
Open

Get tweets with multiple keywords #564

evilprince2009 opened this issue Nov 17, 2021 · 0 comments

Comments

@evilprince2009
Copy link

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant