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'% 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].
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.


Reply via email to