That behavior is by definition (read the blog post) but I couldn't get the
"ID array" (not even one ID) type of recpt to work.
It returns "BadRequest" in the response.
Any ideas? sample codes?
thnx

-ibrahim


On Thu, May 22, 2008 at 4:04 AM, Abhijit <[EMAIL PROTECTED]> wrote:

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


-- 
Ibrahim Okuyucu
www.rockyou.com
AIM: wer0cky0u

--~--~---------~--~----~------------~-------~--~----~
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