today suddenly the error phased away... now the bug is that request's are invalidated if one of the GET or POST argument string contains a SPACE, triedusing escape function.Thanks ~@@[EMAIL PROTECTED] http://aakash-bapna.blogspot.com
> Date: Tue, 12 Feb 2008 16:47:50 -0800> Subject: [OpenSocial] Re: > opensocial.makeRequest() not working in v0.6 ???> From: [EMAIL PROTECTED]> > To: opensocial-api@googlegroups.com> > > Hi Aakash. I believe this is a known > issue with the Shindig gadget> server which Orkut uses. This bug should be > fixed with the next> sandbox update.> > - Jason> > On Feb 9, 1:57 am, Aakash > Bapna <[EMAIL PROTECTED]> wrote:> > Hi Jason ,> > i am getting this error in > FF2> > Error: [Exception... "Not enough arguments" nsresult: "0x80570001 > (NS_ERROR_XPC_NOT_ENOUGH_ARGS)" location: "JS frame > ::http://0.o.gmodules.com/46/o/ig/ifr?url=http://enext.biz/aks/tags.xml...:: > anonymous :: line 903" data: no]Source > File:http://0.o.gmodules.com/46/o/ig/ifr?url=http://enext.biz/aks/tags.xml...903> > > I am using the following code snippet-> > <script type="text/javascript"> > function test(){ var params = {}; > params[gadgets.io.RequestParameters.AUTHORIZATION] = > gadgets.io.AuthorizationType.SIGNED; > params[gadgets.io.RequestParameters.CONTENT_TYPE]=gadgets.io.ContentType.TEXT;> > > var a=document.getElementById("ourVar").value; a=escape(a) > gadgets.io.makeRequest("http://www.enext.biz/aks/test.php?our_variable="+a,callback,params) > function callback(resp){ document.getElementById('html').innerHTML = > resp.data }> > whole gadget is at-http://www.enext.biz/aks/test.xml> > the > server side php code is same as that in Article by Lane on Signed request.> > > Thanks ~@@[EMAIL PROTECTED]://aakash-bapna.blogspot.com> >> > > Date: Fri, 8 > Feb 2008 13:23:13 -0800> Subject: [OpenSocial] Re: opensocial.makeRequest() > not working in v0.6 ???> From: [EMAIL PROTECTED]> To: > opensocial-api@googlegroups.com> > > URLs cannot contain certain characters > such as spaces. For this> reason, query string parameters must be encoded to > remove spaces and> other invalid characters. The built-in JavaScript escape() > function> can help you here:> > > http://www.w3schools.com/jsref/jsref_escape.asp> > If you continue to > experience problems here, please post a snippet of> your source so that we > can help you identify the cause.> > Cheers!> - Jason> > On Feb 7, 12:15 pm, > "RAJA SEKHAR" <[EMAIL PROTECTED]> wrote:> > Hai> >> > when using the > Makerequest> > when i pass values throuth query string it is throwing an > error> >> > when query string consists spaces then it is throwing error> > > else> > it return result> > y it is happenig ?> >> > and one more thing is > can i get info about person by using UID that person> > is not in my friends > list> >> > Thna> > Raj> >> > On Feb 8, 2008 1:39 AM, Jason <[EMAIL > PROTECTED]> wrote:> >> >> >> >> >> > > Hi. Can you provide more information > regarding the problems you're> > > experiencing? The makeRequest() method > should work in all containers> > > that implement version 0.6 or higher of > the OpenSocial specification.> > > Please keep in mind that if you're testing > your applications within> > > the Orkut Sandbox, which has been updated to > support version 0.7 of> > > the specification, you should use > gadgets.io.makeRequest() in place of> > > opensocial.makeRequest().> >> > > > By the by, the following article has an example of how to use> > > > opensocial.makeRequest(), which you may find helpful:> >> > > >http://groups.google.com/group/opensocial/web/validating-signed-reque...> >> > > > - Jason> >> > > On Feb 6, 1:11 am, Virtual One <[EMAIL PROTECTED]> > wrote:> > > > opensocial.makeRequest() not working in v0.6 ??? any update ?> > >> > --> > RajaSekhar> > _________________________________________________________________> >> > Shed > those extra pounds with MSN and The Biggest > Loser!http://biggestloser.msn.com/> > _________________________________________________________________ Shed those extra pounds with MSN and The Biggest Loser! http://biggestloser.msn.com/ --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/opensocial-api?hl=en -~----------~----~----~----~------~----~------~--~---