tags:

views:

405

answers:

3

Is it possible to use Twitter's API to grab search results? For example, if I wanted my page to show all tweets (man I hate that term) with the word "cat" in it? Is it also possible to get just the matching results that were after a certain date?

A: 

Yes, it is possible to get just the matching results. I am not sure about the date though.

euphoria83
+5  A: 

Ah I found it! The documentation is here:

http://apiwiki.twitter.com/Search+API+Documentation

http://search.twitter.com/search.json?q=<query>

Returns tweets that match a specified query. You can use a variety of search operators in your query. Here are a few examples:

You can also add this parameter:

since_id: returns tweets with status ids greater than the given id.

nickf
A: 

I dont think Twitter keeps histrory of tweets which are more than 1 year old. So it is not possible to search all tweets :)

Shoban
hehe i think i'll survive. thanks for the tip though.
nickf