Hi,
I started working with igoogle gadget for "tuning" of google
bookmarks.
In this case i got problems to create a request getting my bookmarks.
Is there any already existing solution, you could share with me?
Thanks a lot!,
greetz Christian
My code:
function makeJSONRequest() {
var params = {};
params[gadgets.io.RequestParameters.CONTENT_TYPE] =
gadgets.io.ContentType.JSON;
params[gadgets.io.RequestParameters.AUTHORIZATION] =
gadgets.io.AuthorizationType.SIGNED;
var url = "http://www.google.com/ig/bookmarks?op=label";
gadgets.io.makeRequest(url, response, params);
};
function response(obj) {
console.log(obj);
}
----------------------------------------------------------------
I got the following response from the request:
throw 1; < don't be evil' >{"http://www.google.com/ig/bookmarks?
op=label":{"headers":{"set-cookie":
["PREF=ID=9eccddd7819de57943:TM=131845448592:LM=13184448592:S=a70Qu2SWRPB7dvqn;
expires=Fri, 11-Oct-2013 19:43:12 GMT; path=/;
domain=.google.com"]},"body":"while(1);{\"response_code\":
4}","DataHash":"7frmh6hj3shtnm510gkrobuvo8ex","rc":200}}
--
You received this message because you are subscribed to the Google Groups
"iGoogle 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/Google-Gadgets-API?hl=en.