Hi Amir, thanks so much for leaving a note.
My first thought is that the search you’re conducting may be too narrow. I’d suggest first trying a more common keyword and location (e.g. #pets, New York) and see if this returns more tweets as a test of the code itself.
If the code runs with more common terms, it may be a matter of using multiple, separate search terms (e.g. #pets, #cats, #cats). You can also remove the location filter so the code returns any tweet having the search term you’re using.
However, one problem with this package is that it is far from a comprehensive source for Twitter data and I tend to treat is a a sample of Twitter data. It may simply be an issue that the package hasn’t collected the data you’re fetching — especially the case if its recent tweets. For anything very recent, using Tweepy and the Twitter API is the best bet.
Let me know how you go and, if you’d like to share your search terms, I can try on my end to see if I get better results.
Happy coding,
Robbie