Hey Pablo,

The reason you are getting 100 results is because you are passing a results
per page (rpp) value of 100. To access the next 100 results you need to
request the next page, which you can do by setting the parameter 'page'
equal to the page you want.

You can find out more about search on our developer resources site:
    http://dev.twitter.com/doc/get/search

Hope that helps,
Matt

On Mon, Aug 30, 2010 at 6:34 PM, Pablo Augusto <em...@pabloaugusto.com>wrote:

>
> Hello,
>
> I'm wondering if its possible to get back the twits from one account for
> last 3 days for example.
> im useing a class that do the follow search to capture tweets:
>
>     $request  = 'http://search.twitter.com/search.'.$this->type;
>      $request .= '?q='.urlencode($this->query);
>
> Using the methos of this class i do the fololow search:
>
> $search = new TwitterSearch();
> $search->from('@username');
> $search->contains('#hashtag');
> $search->since(22554873450);
> $results = $search->rpp(100)->results();
>
> But i only get the last 100 results (the newest ever)
> I just try to put a low number at SINCE:
>
> for example: $search->since(21554873450);
>
> Buts aver show the last newest results.
>
>
> Anyone knows how can i get results older than last 100 newest in any
> querry, class, function, etc?
>
> if anyone can help, ill be graceful.
>
>
>
> *
> *
> *Pablo Augusto*
>  MSN: m...@pabloaugusto.com
> SKYPE: sk...@pabloaugusto.com
> EMAIL: cont...@pabloaugusto.com
> SITE: http://webtags.com.br
>
>  [image: Linkedin] <http://linkedin.com/in/pabloaugusto> [image: 
> Twitter]<http://twitter.com/pabloaugusto>
>  [image: Facebook][image: Flickr] <http://flickr.com/photos/pabloaugusto> 
> [image:
> Youtube] <http://youtube.com/pabloaugustoo> [image: 
> FormSpring]<http://formspring.me/pabloaugust0> [image:
> LastFM] <http://lastfm.com.br/user/pabloaugustoo> [image: 
> DeviantART]<http://deviantart.com/pabloaugustoo> [image:
> Tumblr] <http://pabloaugusto.tumblr.com/> [image: 
> Vimeo]<http://vimeo.com/pabloaugusto> [image:
> del.icio.us] <http://del.icio.us/pabloaugusto> [image: 
> Slideshare]<http://slideshare.net/pabloaugusto> [image:
> Friendfeed] <http://friendfeed.com/pabloaugusto>
>
>
>  --
> 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
>



-- 


Matt Harris
Developer Advocate, Twitter
http://twitter.com/themattharris

-- 
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

Reply via email to