Massimo,
> def twitter():
>         session.forget()
>         session._unlock(response)
>         import gluon.tools
>         import gluon.contrib.simplejson as sj
>         from google.appengine.api.urlfetch import fetch
>         #page = gluon.tools.fetch('http://twitter.com/web2py?
> format=json')
>         page = fetch('http://twitter.com/web2py?format=json').content
>         return sj.loads(page)['#timeline']
>
> does it work?

Yes !, perfect master this function run's OK.

Thank's by your great help !.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to