Looks like you found a bug in gluon.tools.fetch (I remember testing this, perhaps they changed the behavior of GAE fetch? whatever). I fixed it in trunk and your original code should work as originally intended.
On Nov 23, 1:49 pm, Leandro - ProfessionalIT <lsever...@gmail.com> wrote: > 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 -~----------~----~----~----~------~----~------~--~---