Could somebody help me with usage of opensocial.requestPermission. I have an application which person A has installed and person B is trying to view that application in A's profile. The viewer object is not available.
opensocial.hasPermission(opensocial.Permission.OWNER) returns me : false opensocial.hasPermission(opensocial.Permission.VIEWER) returns me : true I have functions function requestPermission() { var reason = "Permission to view gadgetr of Viewer"; opensocial.requestPermission(opensocial.Permission.VIEWER, reason, testFunction); } function requestOwnerPermission(){ var reason = "Permission to view gadgetr of Owner"; opensocial.requestPermission(opensocial.Permission.OWNER, reason, testFunction); } function testFunction(responseObj){ // responseObj } responseObj returned to me as : remote_iframe_0 No idea as to what 'remote_iframe_0' is. Still after the requestPermissions call the viewer object is not returned. I need the viewer id (A's id ) on B's application frame. Please let me know if i have done something wrong in the code. Thanks, Rohit www.toostep.com --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/opensocial-orkut?hl=en -~----------~----~----~----~------~----~------~--~---