RPC request fails in Wave Gadget

2 views
Skip to first unread message

Raphaël Pinson

unread,
May 31, 2010, 12:41:49 PM5/31/10
to Google Wave API
Hello,

I have a Wave Gadget which fails to load, and it seems to fail on an RPC request. I can't figure out what's wrong with it. The URL of the gadget is http://2.latest.flammard.appspot.com/assets/preferences.xml.

Does someone know what's wrong with this code?


Thank you in advance,

Raphaël Pinson


Joe Gregorio

unread,
Jun 1, 2010, 12:17:20 PM6/1/10
to google-...@googlegroups.com
You can't do XHR requests directly from within a gadget, you
need to use gadgets.io.makeRequest to do XHR-like calls.

http://code.google.com/apis/opensocial/docs/0.7/reference/gadgets.io.html

Thanks,
-joe

--
Joe Gregorio
Developer Relations, Google Wave

2010/5/31 Raphaël Pinson <rap...@gmail.com>:

> --
> You received this message because you are subscribed to the Google Groups
> "Google Wave API" group.
> To post to this group, send email to google-...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-wave-a...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-wave-api?hl=en.
>

Raphaël Pinson

unread,
Jun 1, 2010, 12:30:40 PM6/1/10
to google-...@googlegroups.com
Thanks for your answer Joe.

I chose to do it with osapi instead:


Raphaël Pinson
Reply all
Reply to author
Forward
0 new messages