To be very simple: Streams = future, REST = past

If it's 8 AM, you should start your application that uses the Stream API
and stop it at around 9:45 AM. Then, for every tweet that comes in, you
would check the time and decide to use it or not.

With the REST API, you execute some requests at 9:45 AM, going back to
9:00 AM. Depending on the amount of tweets sent about AAPL, this may be
a lot of requests. I'd recommend using the Streams API and keep a small
program running to archive (or whatever you want to do with them) the
tweets.

Tom


On 9/29/10 2:36 PM, rakesh wrote:
> Hi -
> 
>  I would like to download (all) the tweets in the public timeline that
> correspond to a particular keyword (or keywords) from a specific start
> time to end time. Would the streams API help me do this.
> 
> For example - all tweets (from all users) that contain the keyword
> 'AAPL' between 9 AM and 9:30 AM EST.
> 
> 
> I realize that the number of requests is rate-limited and hence will
> not result in all tweets - if one gets whitelisted - is it possible ?
> 
> Any other way ?
> 
> Thanks in advance for your answer(s)
> Rakesh
> 

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk

Reply via email to