Hi,

The api gives only last 1500 tweets, 100 per page. Usingd since_id and
Until_id we can get atmost 1500 tweets.

I can't tell you how to get all searched between two date ranges but  i
think below process can help you get more than 1500 and if processed
programatically you can achieve what you want.


1. Set rpp=100 and retrieve 15 pages search results by incrementing
the param 'page'
2. Get the id of the last status on page 15 and set that as the max_id
for the next query
3. If we have more results, go to step 1

this worked fine for me.

Please check below link.

http://groups.google.com/group/twitter-development-talk/browse_thread/thread/d6a919e25eecd4db/60d54a47b19e16d5?lnk=raot


Regards,

Mahaboob Basha Shaik
www.netelixir.com
Making Search Work


On Thu, Apr 2, 2009 at 6:43 AM, Seema Nagar <[email protected]> wrote:

> I am new to twitter.  I am trying twitter search API to get last one
> month's data(
> http://search.twitter.com/search.atom?geocode=51.500152%2C-0.126236%2C15mi&lang=en&q=+movie+since%3A2009-03-03+until%3A2009-03-30+near%3Alondon+within%3A15mi).
>   Unfortunately I get only fifteen
> pages :(. Has anybody tried this before ? Or is there a way to get
> remaining tweets ?
>
>
> Thanks in advance.
>
>
> regards,
> Seema
>
>
>

Reply via email to