I assume you are running on GAE. Your browser calls the twitter action
via ajax. That casues en error (the page says loading because ajax
does not a valid response0. Now look into the GAE logs for the error.

On Nov 23, 9:33 am, Leandro - ProfessionalIT <lsever...@gmail.com>
wrote:
> Massimo,
>     With this code, I don't receive a error message, but show me a
> etern 'loading....' in the div field. Look in my 
> page:http://www.leandro.inf.br
>
> -- Leandro.
>
> On Nov 23, 1:07 pm, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
> > 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 <lsever...@gmail.com>
> > 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 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