Hi all any kind of guidance will be highly appreciated.. I am not able to figure out that the message which gets displayed on firebug "unknown RPC service" is from Orkut API or there is some problem with opensocial example I have been trying.
Thanks. On Jun 10, 6:10 pm, DON <p.agniho...@gmail.com> wrote: > 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("owner", 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 "OpenSocial Application Development" group. To post to this group, send email to opensocial-api@googlegroups.com To unsubscribe from this group, send email to opensocial-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/opensocial-api?hl=en -~----------~----~----~----~------~----~------~--~---