Even I faced the same problem... I installed firebug and it started working....
cheers, Mak On Feb 9, 2008 3:27 PM, 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&parent=http://sandbox.orkut.com/46/o/ig/files/container/ifpc_relay.html&lang=en-US&country=US&synd=orkut&view=canvas&nocache=1&mid=0&up_prl=1&h=600#st=AFinprR9CHSCMJK70cmGB79xL1SzDq16mKVolwS_FRRrNTOX3kxU6oLBXvOpfzRqfZkWg-vC-ZDoH-Zho8dzrlCPLPst7VKMxsQgAIEg8hsf_KmBe9gjDto&gadgetId=06655102419555515290&gadgetOwner=17361100101xxxxxxxxxxxxx&gadgetViewer=17361100101xxxxxxxxxx&view-params > *<http://0.o.gmodules.com/46/o/ig/ifr?url=http://enext.biz/aks/tags.xml&parent=http://sandbox.orkut.com/46/o/ig/files/container/ifpc_relay.html&lang=en-US&country=US&synd=orkut&view=canvas&nocache=1&mid=0&up_prl=1&h=600#st=AFinprR9CHSCMJK70cmGB79xL1SzDq16mKVolwS_FRRrNTOX3kxU6oLBXvOpfzRqfZkWg-vC-ZDoH-Zho8dzrlCPLPst7VKMxsQgAIEg8hsf_KmBe9gjDto&gadgetId=06655102419555515290&gadgetOwner=17361100101xxxxxxxxxxxxx&gadgetViewer=17361100101xxxxxxxxxx&view-params> > *= :: anonymous :: line 903" data: no] > Source File: ** > http://0.o.gmodules.com/46/o/ig/ifr?url=http://enext.biz/aks/tags.xml&parent=http://sandbox.orkut.com/46/o/ig/files/container/ifpc_relay.html&lang=en-US&country=US&synd=orkut&view=canvas&nocache=1&mid=0&up_prl=1&h=600#st=AFinprR9CHSCMJK70cmGB79xL1SzDq16mKVolwS_FRRrNTOX3kxU6oLBXvOpfzRqfZkWg-vC-ZDoH-Zho8dzrlCPLPst7VKMxsQgAIEg8hsf_KmBe9gjDto&gadgetId=06655102419555515290&gadgetOwner=173611001013xxxxxxxxxxx&gadgetViewer=173611001xxxxxxxxx8962&view-params > *<http://0.o.gmodules.com/46/o/ig/ifr?url=http://enext.biz/aks/tags.xml&parent=http://sandbox.orkut.com/46/o/ig/files/container/ifpc_relay.html&lang=en-US&country=US&synd=orkut&view=canvas&nocache=1&mid=0&up_prl=1&h=600#st=AFinprR9CHSCMJK70cmGB79xL1SzDq16mKVolwS_FRRrNTOX3kxU6oLBXvOpfzRqfZkWg-vC-ZDoH-Zho8dzrlCPLPst7VKMxsQgAIEg8hsf_KmBe9gjDto&gadgetId=06655102419555515290&gadgetOwner=173611001013xxxxxxxxxxx&gadgetViewer=173611001xxxxxxxxx8962&view-params> > *= > Line: 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<http://www.enext.biz/aks/test.php?our_variable=%22+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] <%7E@@[EMAIL PROTECTED]> > http://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: [email protected] > > > > > > 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 > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
