I downloaded IFPC_externalIframeV004.zip file, copied that ifpc_relay_external001.html to my server and set
MyOpenSpace.MySpaceContainer.get().registerParam("panelId", "apppanel_134217_canvas");
MyOpenSpace.MySpaceContainer.get().registerParam("localRelay", "http://www.mydomain.com/path/ifpc_relay_external001.html");
and also set
<script src="http://x.myspacecdn.com/OpenSocial/references/gadgets003.js" mce_src="http://x.myspacecdn.com/OpenSocial/references/gadgets003.js" type="text/javascript"></script>
<script src="http://x.myspacecdn.com/modules/common/static/js/Apps/ifpc003.js" mce_src="http://x.myspacecdn.com/modules/common/static/js/Apps/ifpc003.js" type="text/javascript"></script>
<script src="http://x.myspacecdn.com/modules/common/static/js/Apps/json001.js" mce_src="http://x.myspacecdn.com/modules/common/static/js/Apps/json001.js" type="text/javascript"></script>
<script src="http://x.myspacecdn.com/OpenSocial/IFPC_externalIframe004.js" mce_src="http://x.myspacecdn.com/OpenSocial/IFPC_externalIframe004.js" type="text/javascript"></script>
As much as I understood from this -http://wiki.developer.myspace.com/index.php?title=IFrame_postTo_Workaround_Demo_Application - it's enought to make API working. Byt when I call
MyOpenSpace.MySpaceContainer.get().requestShareApp(keys, myspace_container.newMessage('My App Add TXT!'));AS I said - if it's onload - it works fine, but if it's called by interaction (onclick) - it seem's that it tries to open that invite window and after shows that error.
Am I missing something there?