Hi folks! I am trying to use the Search API to get tweets from a specific date range, and I believe my request is formatted correctly yet I am not receiving the correct results. Here is what my request looks like:
client.get(‘search/tweets.json?q=&geocode=’
+ req.params.geocode
+ ‘,.5km&since:’ + req.params.startdate + ‘&until:’ + req.params.enddate
Req.params.startdate and enddate are properly formatted dates (YYYY-MM-DD). If I remove those parameters from the request, the search gets no tweets. If I replace them with simply &result_type=recent, it returns the same results.
I’ve read topics from 2+ years ago that suggest Twitter only returns tweets that are around a week old, but even if I set the until parameter to be within a week it returns results past it. If anyone has any advice I would be very grateful! Thanks.