You should be able to search by user with from%3Auser (url encoded
'from:user') :
http://search.twitter.com/search.json?q=from%3Auser&page=1&rpp=10

On Dec 20, 8:03 pm, Tito Garrido <[email protected]> wrote:
> I've found this link too but it doesn't work :-/
>
>
>
> On Sun, Dec 20, 2009 at 5:45 PM, mdipierro <[email protected]> wrote:
> > based on this it is rpp=10
>
> >http://apiwiki.twitter.com/Twitter-Search-API-Method%3A-search
>
> > On Dec 20, 2:28 pm, Tito Garrido <[email protected]> wrote:
> > > def get_twits():
> > >   user='web2py'
> > >   import gluon.tools
> > >   import gluon.contrib.simplejson as sj
> > >   page = 
> > > gluon.tools.fetch('http://twitter.com/%s?format=json'%<http://twitter.com/%s?format=json%27%>user)
>
> > >   tweets=XML(sj.loads(page)['#timeline'])
> > >   return dict(tweets=tweets)
>
> > > I'm wondering how can we limit this query for last 10 tweets...
>
> > > Anybody has a clue?
>
> > > Thanks!
>
> > > --
>
> > > Linux User #387870
> > > .........____
> > > .... _/_õ|__|
> > > ..º[ .-.___.-._| . . . .
> > > .__( o)__( o).:_______
>
> > --
>
> > You received this message because you are subscribed to the Google Groups
> > "web2py-users" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected]<web2py%[email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/web2py?hl=en.
>
> --
>
> Linux User #387870
> .........____
> .... _/_õ|__|
> ..º[ .-.___.-._| . . . .
> .__( o)__( o).:_______

--

You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.


Reply via email to