is requestSendMessage function currently broken??

4 views
Skip to first unread message

DON

unread,
Jun 11, 2009, 8:31:07 PM6/11/09
to Orkut Developer Forum
Hi all,

I am trying to post a message to users using the example code, it
worked for me few days back and now its throwing this "unknown RPC
service" error, I have no clue what this is about. I am developing on
Orkut. Is this an error on container or application side?

code that I have been trying:

function sendEmail() {
var params = [];
params[opensocial.Message.Field.TITLE]="Hola!";
var body="Como estas?";
var message = opensocial.newMessage(body, params);
var recipient = opensocial.IdSpec.PersonId.OWNER;
opensocial.requestSendMessage(recipient, message, callback,params);
alert("ping");
if (opensocial.requestSendMessage)
alert(opensocial.requestSendMessage);

}

function callback(data) {
if (data.hadError()) {
alert(data.getErrorCode());
} else {
alert("Ok");
}

};

sendEmail();


Sachin Shenoy

unread,
Jun 14, 2009, 2:06:35 AM6/14/09
to opensoci...@googlegroups.com
Yes, this is broken currently. Fix will take around two weeks time.

Thanks,
Sachin

anatoly

unread,
Jun 15, 2009, 7:20:44 AM6/15/09
to Orkut Developer Forum
Why so long?
> > sendEmail();- Hide quoted text -
>
> - Show quoted text -

Eduardo Rocha

unread,
Jun 15, 2009, 11:05:40 AM6/15/09
to Orkut Developer Forum
Two weeks is way too long.

Eduardo Rocha

unread,
Jun 17, 2009, 2:49:35 PM6/17/09
to Orkut Developer Forum
Good to have this back, thanks.

Sachin Shenoy

unread,
Jun 17, 2009, 9:15:00 PM6/17/09
to opensoci...@googlegroups.com
Yes, as some would have already found this has been fixed on Prod.

Sandbox fix will be rolled out in another few hours. [It will need a force reload of the JS though]

Regards,
Sachin

DON

unread,
Jun 17, 2009, 3:08:21 PM6/17/09
to Orkut Developer Forum
Hi,

Is requestSendMessage working now?
I am still getting the same error in firebug: "Unknown RPC Service"
Reply all
Reply to author
Forward
0 new messages