This is the response from Orkut that gets returned by makeRequest calls.
Don't worry about it - it isn't an error and won't affect your program at
all.
~Arne
On Sun, Feb 24, 2008 at 12:41 AM, imoracle <[EMAIL PROTECTED]>
wrote:
>
> Also in firebug I can see some thing like this <don't be a evil error>
>
> throw 1; < don't be evil' >{"http://www.mysite.com/opensocial/library/
> callbackstats/returndata
> .php<http://www.mysite.com/opensocial/library/callbackstats/returndata.php>":{"body":"Now
> playing: Ajab Si from Om Shanti Om<br/>Now playing:
> When You Say Nothing At All<br
> /> Now playing: Rainy Day<br/> Now playing: Sweet Child of mine -
> Joel<br/>Now playing: Why?<br/>Now
> playing: The Orchard<br/> ","rc":200}}
>
> On Feb 24, 1:38 pm, imoracle <[EMAIL PROTECTED]> wrote:
> > Hello All,
> >
> > I just want to make a callback to my remote app server every one
> > second, but some how don't get this working.
> >
> > Here is the code snippet:
> >
> > <ModulePrefs>
> > <Require feature="opensocial-0.7"/>
> > <Require feature="dynamic-height" />
> > </ModulePrefs>
> > <Content type="html">
> > <![CDATA[
> > <script language="javascript" src="http://mysite.com/opensocial/
> > library/js/coderunner.js"></script>
> > <script language="javascript">
> > var polltime = 1000;
> >
> > function makeNormalRequest() {
> > var params = {};
> > params[gadgets.io.RequestParameters.CONTENT_TYPE] =
> > gadgets.io.ContentType.TEXT;
> > var url = "http://www.mysite.com/opensocial/library/callbackstats/
> > returndata.php";
> > gadgets.io.makeRequest(url, response, params);
> >
> > };
> >
> > function response(obj) {
> > //obj.text contains the text of the page that was requested
> > output(obj.text);
> >
> > };
> >
> > function onClickofButton() {
> > showapp(document.getElementById('Location').value);
> > document.getElementById('Location').value = "";
> > document.getElementById('description').style.display = "none";
> > document.getElementById('descriptionheader').innerHTML = "<b>Current
> > activity:</b>";
> > document.getElementById('output').style.height = "260";
> > setTimeout("makeNormalRequest()",polltime);}
> >
> > </script>
> >
> > Can anyone help me with this?
> >
> > Also do we have xmlhttp request working in opensocial??
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---