One more big problem with makeRequest(v0.7) other than id discrepancy - when the string variable passed with GET method in url has SPACES then the request invalidates, otherwise its validated .. i am using same backend code as here- http://groups.google.com/group/opensocial/web/validating-signed-requests-from-orkut?hl=en except the certificate comes from my server cache as advised. If anyone want reference working code or see the above bug, you can see add this app- http://www.enext.biz/aks/test.xml Thanks ~@@[EMAIL PROTECTED] http://aakash-bapna.blogspot.com
From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: [OpenSocial] Re: makeRequestDate: Wed, 6 Feb 2008 20:12:06 +0000 Hi Marc,i also got this error with new v0.7, but analyzing the javascript source got it to workThe field AuthorizationType.AUTHENTICATED is not supported yet, hence i got same error as yours with it. Now you have to use the data field to get the final response, your code should be" html += responseText.data;"try params[gadgets.io.RequestParameters.CONTENT_TYPE]=gadgets.io.ContentType.TEXT; Thanks ~@@[EMAIL PROTECTED] http://aakash-bapna.blogspot.com Date: Wed, 6 Feb 2008 19:48:19 +0100From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: [OpenSocial] Re: makeRequestHi arne, can you help me out with this??thats the full error message firebug gave to me! processResponse("http://eiche.informatik.uni-rostock.de/clipping/share/scripts/php/store.php?webclip=<html><body>hall...", function(), "webclip", XMLHttpRequest)ifr (line 805) (no name)()ifr (line 115) text: data.body, 2008/2/6, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: Hello,I have an issue with makeRequest function, thats the code i am using:var params = {};gadgets.io.makeRequest(param, function (responseText) {var html = "<div style='padding: 5px;" + "text-align:left;font-size:90%'>";html += responseText;html += "</div>";document.getElementById('main').innerHTML = html; },params);and i get this error:data.text has no properties in response callback functionwhy??do i need some more parameters, i thought they are optional!marc.</html_________________________________________________________________ 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 -~----------~----~----~----~------~----~------~--~---
