Hi,

I'm trying send messages. When I use recipients like
opensocial.DataRequest.PersonId.VIEWER or
opensocial.DataRequest.PersonId.OWNER the message window is showed and
I got to send the message, but if I change recipient param to the
specific UID (even it included in my friend list), it not works.

What error in my code?

    var params = [];
    params[opensocial.Message.Field.TITLE]="test!";
    var body="test message";
    var message = opensocial.newMessage(body, params);
    //var recipient = opensocial.DataRequest.PersonId.VIEWER;
    var recipient = '16317004085318667359';

    opensocial.requestSendMessage(recipient, message);
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to