hi i am using a code like yours. but the opensocial_viewer_id mentioned here 
http://groups.google.com/group/opensocial/web/content-fetching is missing.
Moreover  the value of opensocial_ownerid does not reconcile with the value 
given by container data function person.getID();
 
if anyone wants to check the results of the new opensocial.makeRequest function 
you can try this test app- http://enext.biz/aks/test.xml
it makes a remote request using Signed AuthenticationType. 
AuthenticationType.AUTHENTICATED does not work yet..
Thanks ~@@[EMAIL PROTECTED] http://aakash-bapna.blogspot.com 



> Date: Wed, 23 Jan 2008 17:13:52 -0800> Subject: [OpenSocial] Re: How to use 
> the method makeRequest?> From: [EMAIL PROTECTED]> To: 
> [email protected]> > > > See below. If you run this in the 
> Orkut sandbox it will call your> server.> Good luck with validating the 
> signing though, the public key they're> using seems to be a big secret.> > > 
> <?xml version="1.0" encoding="UTF-8" ?>> <Module>> <ModulePrefs title="Remote 
> Call Demo">> <Require feature="opensocial-0.6"/>> </ModulePrefs>> <Content 
> type="html">> > <![CDATA[> > <script type="text/javascript">> > function 
> doRemoteCall() {> var args = {};> 
> args[opensocial.ContentRequestParameters.AUTHENTICATION] => 
> opensocial.ContentRequestParameters.AuthenticationType.SIGNED;> /* 
> args[opensocial.ContentRequestParameters.CONTENT_TYPE] => 
> opensocial.ContentRequestParameters.ContentType.HTML; */> 
> args[opensocial.ContentRequestParameters.METHOD] => 
> opensocial.ContentRequestParameters.MethodType.GET;> 
> document.getElementById('message').innerHTML = "Making the call";> 
> opensocial.makeRequest("http://<your server dns name>OpenSocialTest/> 
> TestServlet",onRemoteCallComplete,args);> }> > function 
> onRemoteCallComplete(result) {> var html = "Got this back: " + result;> 
> document.getElementById('message').innerHTML = html;> }> > > > > 
> _IG_RegisterOnloadHandler(doRemoteCall);> > </script>> ]]>> </Content>> 
> </Module>> _________________________________________________________________
Climb to the top of the charts! Play the word scramble challenge with star 
power.
http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_jan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OpenSocial API Definition" 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/opensocial-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to