Arne,
Here is our code. Below it is our server log, which shows a 200 coming
back, though the JS alert says 404.
function fetchCode()
{
var params = {};
params[gadgets.io.RequestParameters.AUTHORIZATION] =
gadgets.io.AuthorizationType.SIGNED;
params[gadgets.io.RequestParameters.CONTENT_TYPE] =
gadgets.io.ContentType.TEXT;
var url = 'http://devs.itog.com/opensocial_ajax.pl?' +
gadgets.io.encodeValues({act: "codegen"});
//shows: http://devs.itog.com/opensocial_ajax.pl?act=codegen&
alert(url);
gadgets.io.makeRequest(
url,
function(response){
if(response.errors)
{
//shows: Errors: Error 404
alert("Errors:" + response.errors);
}
else
{
var data = response.data;
//do stuff
}
},
params
);
}
// LOG
// The values provided by OpenSocial have been omitted in the log
below, and have been replaced with "..."
74.125.16.5 - - [14/Feb/2008:09:14:22 -0600] "GET
/opensocial_ajax.pl?
act=codegen&opensocial_ownerid=...opensocial_viewerid=...&opensocial_appid=...&oauth_token&oauth_consumer_key=orkut.com&oauth_nonce=...&oauth_timestamp=1203002061&xoauth_signature_publickey=pub.
1199819524.-1556113204990931254.cer&oauth_signature_method=RSA-
SHA1&oauth_signature=...
HTTP/1.1" 200 - "-" "-" "-"
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Orkut Developer Forum" 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-orkut?hl=en
-~----------~----~----~----~------~----~------~--~---