<?xml version="1.0" encoding="UTF-8" ?>
<Module>
<ModulePrefs title="Fetch">
<Require feature="opensocial-0.7"/>
</ModulePrefs>
<Content type="html">
<![CDATA[
<div id="content_div"></div>
<script type="text/javascript">
opensocial.makeRequest("http://www.google.com",
function(response) {
var html = response.substr(0,400);
document.getElementById('content_div').innerHTML = html;
}, {'method' : 'GET', 'contentType' : 'html'});
</script>
]]>
</Content>
</Module>
Gives and error, opensocial.makeRequest doesn't exist.
Any suggestions??
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Orkut Developer Forum" 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-orkut?hl=en
-~----------~----~----~----~------~----~------~--~---