Thanks for the reply Arne, Yeah I did actually try with putting recipient.. "owner" was one of my tries to get this function work..
I posted in that group but its been a day and my post has not appeared! On Jun 11, 4:48 pm, Arne Roomann-Kurrik <api.kur...@google.com> wrote: > Hm, I think your code should work (at least, if you changed "owner" to > recipient in the requestSendMessage call) but it looks like this > method is currently broken on orkut's sandbox. Can you follow up in > the orkut support group with this problem? The group is located > here:http://groups.google.com/group/opensocial-orkut/topics > > Thanks, > ~Arne > > On Jun 11, 10:48 am, DON <p.agniho...@gmail.com> wrote: > > > 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 -~----------~----~----~----~------~----~------~--~---