Hi, I have written a widget to fetch friends on an opensocial platform using the example described in,
http://dev.netvibes.com/doc/uwa/opensocial I hosted this code using the hosting.gmodules.com. The widget is located at, http://hosting.gmodules.com/ig/gadgets/file/114149374870080035534/testFriend.xml View source and you would find the widget code. I submitted this widget to the netvibes ecosystem and the added to my public page in the opensocial sandbox. The widget works there and shows my sandbox friends. Now using the 'gspec' type url provided by the netvibes exposition servrer at, http://nvmodules.netvibes.com/ I formed the url, http://nvmodules.netvibes.com/widget/gspec?uwaUrl=http%3A%2F%2Fhosting.gmodules.com%2Fig%2Fgadgets%2Ffile%2F114149374870080035534%2FtestFriend.xml and added the widget to my igoogle sandbox. The widget loads but does not fetch my google friends. I added alerts in the "request " and "response" methods. Only the alert in the "request" method appears. My best guess is that the object "opensocial" is not being found. And the code doesnot run any further after the request alert. Can anyone please tell me what I am doing wrong? The name of my widget is UWA+open. The url is http://hosting.gmodules.com/ig/gadgets/file/114149374870080035534/testFriend.xml My browser version is, Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.8) Gecko/ 2009032609 Firefox/3.0.8 (.NET CLR 3.5.30729). The firebug error console show these 5 errors, I dont know if they are relevant. 1. syntax error check_ac_26()ig (line 213) [Break on this error] acObj_26_ =_InstallAC(_gel ("m_26_form"),...eck_26.push([_gel("m_26_"),acObj_26_,]); ig (line 213) 2. check_ac_26_ is not defined [Break on this error] </div></div><b class="rnd_modboxin "><b ...iv></ form></div></div><!-- ig="WXnd" --> ig (line 213) 3. syntax error check_ac_16()ig (line 217) [Break on this error] acObj_16_ =_InstallAC(_gel ("m_16_form"),...eck_16.push([_gel("m_16_"),acObj_16_,]); ig (line 217) 4. check_ac_16_ is not defined [Break on this error] <script>_tabnews_init(3,"right");</ scrip...lear:both"></div></div><!-- ig="NpV" --> ig (line 217) 5. Permission denied to call method Location.toString cookie#id=49E1C56C359D2B69()()cookie#i...C359D2B69 (line 3) [Break on this error] window.parent.frames['gtn-roster-iframe-id'] ['_OnMole'](window); cookie#i...C359D2B69 (line 3) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "OpenSocial Application Development" group. To post to this group, send email to opensocial-api@googlegroups.com To unsubscribe from this group, send email to opensocial-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/opensocial-api?hl=en -~----------~----~----~----~------~----~------~--~---