2 messages in com.googlegroups.opensocial-orkut[orkut-developer] Getting permission ...
FromSent OnAttachments
krishna chaitanya23 Jun 2008 06:24 
Jason24 Jun 2008 11:34 
Subject:[orkut-developer] Getting permission denied error
From:krishna chaitanya (kris@gmail.com)
Date:06/23/2008 06:24:00 AM
List:com.googlegroups.opensocial-orkut

Hi

Issue: ==== Not able to execute a javascript method from serverside code.

window.parent.executeMethod()

or

top.executeMethod()

in the server side code is returning permission denied error. (Was able to find the error message using firefox webdevloper extension. Otherwise page displayes blank html)

Requirement ========== In orkut application I can fetch all the friends of the owner. Now my server will randomly decide a friend. I want to display that random friend image in the page.

[Please refer to http://developer.apple.com/internet/webcontent/iframe.html for remote scripting strategy.]

I am calling the serverside php in an iframe. So I won't have access to the iframe innerHTML.

This is why I am trying to call a method in client javascript code from the server side. This is giving permission denied error.

Any workarounds for this issue.