I started of with opensocial.Environment to work, but has not been
successful.
I've tried many version and nothing worked.
<pre>
<?xml version="1.0" encoding="UTF-8"?>
<Module>
<ModulePrefs title="hello world example">
<Require feature="opensocial-0.6"/>
</ModulePrefs>
<Content type="html"><![CDATA[
<script type="text/javascript">
var env = opensocial.getEnvironment();
var arrSurface = env.getSupportedSurfaces();
for(i = 0; i < arrSurface.length; i++){
alert(arrSurface[i].getName());
}</script> ]]></Content> </Module> </pre> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "OpenSocial API Definition" group. 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/opensocial-api?hl=en -~----------~----~----~----~------~----~------~--~---
