Need to get past tweets like the search, but the fields do not exist


#1

Hi!

I would like to use the Search API or REST API to search something like this:

https://twitter.com/search?q=test%20since%3A2010-01-01%20until%3A2010-02-01&src=typd

The problem is: the “q” it’s fine, but the “since” and “until” do not exist on those API’s !! how can I make that kind of search??..

Thanks!


#2

When using the search API, in the search query you can have since: and until: and they should work fine. Just note that you’re only able to access the last week of tweets so you might have less results that when you are on twitter.com.


#3

Thank Vincent!! the last week of tweets isn’t enough, I need to gather information from the past year or many months, the Streaming API it’s the solution? I imagine the Streaming API as a permanent connection with real time tweets, not old tweets… how can I get what I need? thanks again!! =)