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();



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Orkut Developer Forum" group.
To post to this group, send email to opensocial-orkut@googlegroups.com
To unsubscribe from this group, send email to 
opensocial-orkut+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to