Hi,
I have video player application which works on profile pages. It first gets users id, and then sends request using gadgets.io.makeRequest to my server, which then returns HTML result. It's been working for around six months now, until today I noticed it's broken.
Call with gadgets.io.makeRequest seems to return only some nonsense javascript. Has somethign in that method changed?
Here's my snippet in short:
var param = {};
param[gadgets.io.RequestParameters.AUTHENTICATION] = gadgets.io.AuthorizationType.NONE;
param[gadgets.io.RequestParameters.METHOD] = gadgets.io.MethodType.POST;
param[gadgets.io.RequestParameters.CONTENT_TYPE] = gadgets.io.ContentType.HTML;
param[gadgets.io.RequestParameters.POST_DATA] = {"user":OWNER_NAME};
gadgets.io.makeRequest("http://example.com/", gotMakeRequest, param);
and in function gotMakeRequest I just set c.innerHTML = response;
EDIT: I'm using Opensocial 0.7