Thanks David, This definately helps.
If i have just get the count of the tweet, can I use the Twitter count API for a tweet? WIll that capture the re-tweets both the old and new ones? Thanks, On Sep 16, 8:36 am, David <dtran...@gmail.com> wrote: > HI calyps, > > Good questions. Yes, the search API only returns results from the last > 6 or 7 days. To be exact, I believe it returns results since a certain > id, so the time window will continue to decrease as the number of > tweets per day grows. > > To get your own tweets, you'll want to hit the "statuses/ > user_timeline" endpoint of the REST API. > Seehttp://dev.twitter.com/doc/get/statuses/user_timeline > This should allow you to grab your most recent 3200 tweets. > > You are correct in thinking that you'll probably want to store those, > then going forward, you'll either want to periodically hit that > endpoint to grab newer tweets, or more efficiently, use the "statuses/ > filter" endpoint of the streaming API and follow your own username to > suck down and store all your future tweets. > > With regards to getting all retweets of your tweets, take a look at > "statuses/retweets_of_me" endpoint (for new style > retweets).http://dev.twitter.com/doc/get/statuses/retweets_of_me. For > old-style > retweets, you'll need to use the streaming api, grab mentions, and do > a little bit of work to figure out which ones are retweets. > > Hope that helps, > David > > On Sep 15, 2:26 pm, calyps <ali.st...@gmail.com> wrote: > > > > > Hello, > > > I need to somehow get my tweet history and including all the Re > > tweets. I am trying to use the search API but i believe the search API > > is restricted for only last certain days. Hence, i believe the only > > possibility is to store it somewhere but i have the following > > questions: > > > 1) If the search API is restricted for last certain days, can i still > > collect how many retweets were made (using the new twitter.com > > method)? > > > 2) can you recommend when i should try storing the tweets to ensure I > > dont store duplicate tweets or What is the limit of search API so i > > know every time i execute it, i will get new set of searches. This may > > be how the tweetmeme.com holds the count of tweet? right? > > > Thanks, > > > Ali- Hide quoted text - > > - Show quoted text - -- 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?hl=en