The gadgets we have developed had been running with no issues at all. But since recently they have stopped working. When looked into the issue I see that I am constantly getting "*The currently logged in user and/or the gadget requesting data, does not have access to person data*" when the gadget is trying to fetch person data from JavaScript API. The snippet of code is as below: ** *var req = opensocial.newDataRequest(); req.add(req.newFetchPersonRequest(opensocial.IdSpec.PersonId.VIEWER), "person"); req.send(callback);* ** Our gadgets are opensocial 0.8 compliant. I initially suspected and/or read in one of the topics in forum mentioning that igoogle doesnt support 0.8 anymore and must upgrade the gadgets to 0.9. So I began my analysis on porting the gadgets and we extensively use javascript API to make cross domain calls and none of these are deprecated and well supported within 0.9 spec as well. I am not sure as to what is breaking things here. However I used to get the unathorized access error back in days while it used to work fine when in settings of the gadgets if I failed to check and save the option "*Allow this gadget to know who I am and see my friends group*" but I dont see this option at all now. In fact I do not see any option to change my gadget settings at all. Is there a way to set this option using "userprefs" or how do I go about changing my gadget settings and set this option? I also read in one of the developer forums that making cross-domain calls has a limitation and beyond some point the access is blocked. Is this true? And if so how do I go about fixing this issue. However to confirm this I hosted my gadgets in a different domain and it did work for a while until after making several cross domain calls I am getting the unauthorized access error. Any help is highly appreciated on this.
-- You received this message because you are subscribed to the Google Groups "iGoogle Developer Forum" group. To view this discussion on the web visit https://groups.google.com/d/msg/Google-Gadgets-API/-/dAnIWSU2A-UJ. 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.
