Hi Shashank, The Twitter REST API doesn't allow you to restrict the date returned by date or time but we do allow you to provide a since_id and max_id. If you know the ID of a Tweet that happened after the maximum timestamp you are interested in you could pass it as max_id.
Alternatively, if you want to look at data that happened in the last few days you can use the until parameter of the search API. More information about that parameter can be found here. http://dev.twitter.com/doc/get/search One other way you could do this is to monitor Tweets as they happen. By using the Streaming API you can open a connection before the event/time you are interested in, and then close the connection when you don't want any more. To restrict Tweets to one user you can use the filter method and follow one user ID. More information about the Streaming API is here: http://dev.twitter.com/pages/streaming_api Best, @themattharris <https://twitter.com/intent/follow?screen_name=themattharris> Developer Advocate, Twitter On Fri, Jun 24, 2011 at 1:44 AM, Shashank <cooldude17202...@gmail.com>wrote: > Hi Guys, > I am new to use twitetr api, but managed to understand it to some > extent. But here i am stuck in some problem, i want to get user status > updates, but not all updates. I want a way to just provide a > timestamp, and let the twitter api get statuses done by the user till > that particular timestamp. > > Hope i am able to explain my problem clearly. > > Can anyone tell me a way of how to do this?? > > Thanks in advance. > > Shashank Singh > > -- > Twitter developer documentation and resources: https://dev.twitter.com/doc > API updates via Twitter: https://twitter.com/twitterapi > Issues/Enhancements Tracker: > https://code.google.com/p/twitter-api/issues/list > Change your membership to this group: > https://groups.google.com/forum/#!forum/twitter-development-talk > -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk