Use this:
def twitter():
session.forget()
session._unlock(response)
import gluon.tools
import gluon.contrib.simplejson as sj
page = gluon.tools.fetch('http://twitter.com/web2py?format=json')
return sj.loads(page)['#timeline']
and see what error you get in the GAE log.
On Nov 23, 5:24 am, Leandro - ProfessionalIT <[email protected]>
wrote:
> Hi wes,
>
> I copy and paste your suggestion em my controller/page, but I
> still receive the message: 'Unable to download'. I don't know, but I
> think that this feature don't run in GAE.
>
> Thanks by your help.
>
> -- Leandro.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---