Hey all, This was working fine few hours back, but it seems to be broken in since last 8 or so hours. My code is no longer working in sandbox, i even tried sample example provided in opensocial application developer (0.8) which is as follows
function response(data) { cls(); if (data.hadError()) { if (data.get("req").hadError()) { output("Error: " + data.get("req").getErrorMessage()); } if (data.get("req_friends").hadError()) { output("Error: " + data.get("req_friends").getErrorMessage()); } return; } output(data.get("req").getData().getDisplayName() + "'s Friends:"); output("========================"); data.get("req_friends").getData().each(function(person) { output(person.getDisplayName()); }); gadgets.window.adjustHeight(); }; function request() { var req = opensocial.newDataRequest(); var spec = opensocial.newIdSpec({"userId" : "OWNER", "groupId" : "FRIENDS"}); var params = { "max" : 30 }; req.add(req.newFetchPersonRequest(opensocial.IdSpec.PersonId.OWNER), "req"); req.add(req.newFetchPeopleRequest(spec, params), "req_friends"); req.send(response); }; request(); I would again like to mention, this was working some time back, can someone please look into it ? I tried using firebug, This the request from the opensocial application developer [{"method":"people.get","params":{"userId": ["@viewer"],"groupId":"@self","fields": ["id","name","thumbnailUrl","id","displayName"]},"id":"viewer"} {"method":"appdata.get","params":{"userId": ["@viewer"],"groupId":"@self","appId":"@app","fields": []},"id":"data"}] And following is the reponse,(404 Not Found) <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <base href="http:// terfhe63a76sk7i418e4ebl0fals7mru.a.sandbox.orkut.gmodules.com/" /> <title>orkut - orkut - invalid page</title> Can someone please verify this ? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Orkut Developer Forum" group. To post to this group, send email to opensocial-orkut@googlegroups.com To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/opensocial-orkut?hl=en -~----------~----~----~----~------~----~------~--~---