i am trying to make a request and verify it, but after reading many docs and posts, i am still not sure how to go about it. i am using an opensocial 0.8 myspace app in the profile surface.
my source is this:
var params = {};
params[gadgets.io.RequestParameters.AUTHENTICATION] = gadgets.io.AuthorizationType.SIGNED;
params[gadgets.io.RequestParameters.METHOD] = gadgets.io.MethodType.GET;
params[gadgets.io.RequestParameters.CONTENT_TYPE] = gadgets.io.ContentType.HTML;
gadgets.io.makeRequest(url, my_Callback, params);
my server gets this:
header: X-OpenSocial-Authorization = OPENSOCIAL opensocial_token="xMq0barNKTEqy7udu0ZwDbRpwskgZXjA+Vg5sCypwfxsEaNBYDkiotVdq1zGvvYopjUrbmtbbjoDwMRjGeTx2I8IGG48QQfBlsETZ3BqC5U="
header: X-Opensocial-Owner-Id = 166680141
header: X-Opensocial-Viewer-Id = 166680141
i was thinking i should verify a signature using my consumer key and secret key, but there is no signature.
do i verify the request using the opensocial_token somehow?