DON
unread,Jun 11, 2009, 8:31:07 PM6/11/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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();