Hey Pablo,

The Search index is only 5 days so it makes sense you can only get results
for that period. Your query is correct and will provide access to the
information Search knows about.

The Streaming API will allow you to receive results from the time you
connect to the API onwards. Information about the Streaming API can be found
on our developer resources site:
    http://dev.twitter.com/pages/streaming_api

We have a list of community written libraries which might be of interest:
    http://dev.twitter.com/pages/oauth_libraries

Best,
Matt

On Tue, Aug 31, 2010 at 8:01 AM, Pablo Augusto <em...@pabloaugusto.com>wrote:

> Thanks for the reply.
>
> I just tested and its ok, but only can ger results to 2010-08-28 from now.
> Hav any way to workarround this?
>
> //return null is lower than 28ยบ day
> $request = "
> http://search.twitter.com/search.atom?q=from:user+keyword+since:2010-08-27&rpp=100&page=
> ".$j;
>
> One question.
> Any one knows a updated class for the twiter api? Or can show me any
> example of a current working code to search api or streaming api?
> I had read that streaming api is best to monitoring keywords and track
> users. Anyone here has write a blog post about streaming api with php? Or
> search api with php?
>
>
> It's just working, but i want se some examples of best practices in this
> area.
>
>
> Thanks in advanced.
>
>
> [image: Pablo Augusto]
> *Design e Desenvolvimento*
> MSN: m...@pabloaugusto.com
> SKYPE: sk...@pabloaugusto.com
> EMAIL: cont...@pabloaugusto.com
> TWITTER: @pabloaugusto
> SITE: http://pabloaugusto.com
>  On Tue, Aug 31, 2010 at 03:21, Matt Harris <thematthar...@twitter.com>wrote:
>
>> 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-<http://search.twitter.com/search.%27.$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
>>
>
>  --
> 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