Hi,
I am experiencing this issue too and cannot resolve it.
My app already uses messaging (from examples) and javascript code such as:
script type="text/javascript"
var container = MyOpenSpace.MySpaceContainer.get();
container.adjustHeight(); //This will try to fit the enclosing content.
/script
At the top of my page i declaire the following:
<script 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" type="text/javascript"></script>
<script 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" type="text/javascript"></script>
<script type="text/javascript" src="http://js.myspacecdn.com/OpenSocial/RPC/RpcContainer.003.js"></script>
<script type="text/javascript" src="IFPC_externalIframe006.js" ></script>
<script type="text/javascript">
gadgets.rpc.setRelayUrl('..', 'http://profile.myspace.com/Modules/Applications/Pages/rpc_relay.aspx');
</script>
All i want to do is retrieve the users name but all example code at best is giving me the error : 'opensocial is not defined'
this normally occurs on a line such as: ' os = opensocial.Container.get(); '
My app is an external iframe app using multiple aspx pages (code does not execute on main page so its not to do with passing parameters through although this is already done too)
Any help would be great as this would improve interaction between myspace api and an already active app.
Thanks