Hi Jason,

Thanks for replying .. I expect that when i run the code

"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;
        opensocial.requestSendMessage(recipient, message); "

All the Viewer friends should be selected but none is selected.

But on the other hand if i pass an array with one person that person
is selected, hence What works is an array of one ID and what not works
is
1. An array of multiple id's
2.  opensocial.DataRequest.Group.VIEWER_FRIENDS
3. opensocial.DataRequest.Group.OWNER_FRIENDS


Please look into it.

On May 24, 12:20 am, Jason <[EMAIL PROTECTED]> wrote:
> verma6uc: your snippet works for me. What are you seeing? Is Firebug
> reporting any JavaScript errors?
>
> - Jason
>
> On May 21, 10:20 pm, verma6uc <[EMAIL PROTECTED]> wrote:
>
> > Hi Jason,
>
> > As per the API, this should work
>
> > function requestSendMessage(){
> >         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;
> >         opensocial.requestSendMessage(recipient, message);
>
> > }
>
> > and it is not please look into this.?
--~--~---------~--~----~------------~-------~--~----~
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