Here is the response I get when I try to run the code:
<HTML>
<HEAD>
<TITLE>Error fetching data</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Error fetching data</H1>
<H2>Error 500</H2>
</BODY>
</HTML>
Nemesh
On Jul 3, 4:39 pm, Nemesh <[EMAIL PROTECTED]> wrote:
> I am getting the follwing response when I try to run the following
> code in sandbox:
>
> createASampleActivity()
>
> function postActivity(title, body) {
> var params = {};
> params[opensocial.Activity.Field.TITLE] = title;
> if (body != null) {
> params[opensocial.Activity.Field.BODY] = body;}
>
> var activity = opensocial.newActivity(params);
> opensocial.requestCreateActivity(activity,
> opensocial.CreateActivityPriority.HIGH,
> postActivityCallback);
>
> };
>
> function postActivityCallback(data) {
> if (true) console.log(data);
>
> };
>
> function createASampleActivity() {
> var title = 'This is a test title';
> var body = 'Check it';
> postActivity(title, body);
>
> }
>
> Is something wrong with the orkut sandbox server. I tried the same
> code earlier and it used to work. I am getting this response since
> last 2 days. I also saw other applications on orkut throwing same
> response.
>
> Please help.
>
> Nemesh
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---