this code is running well . But it is showing a dialogue box where I
can choose my friend.

But I don't want this type of box.  How can I do it? I have no problem
to get friend's ids.




unction requestSendMessage1(){



        var params = {};
        params[opensocial.Message.Field.TITLE]="Hello";
        var body="How are you??";
        var message = opensocial.newMessage(body, params);
        var recipient = opensocial.DataRequest.Group.VIEWER_FRIENDS;
        //var recipient = opensocial.DataRequest.PersonId.OWNER;
         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