1. Update to OpenSocial 0.8 is by adding  <Require
feature="opensocial-0.8"/> to your application's ModulePrefs element.
2. You can make use of the idSpec by setting the recipient with
opensocial.IdSpec.PersonId.OWNER, but sending message to group of
friends is not currently supported in orkut.

Regards,
Athira

On Aug 19, 5:07 pm, Shikhar Sachan <[email protected]> wrote:
> I have a sendmail function that is working fine on v 7.
> However I have no clue as to hoe to convert it into v8. How should i
> modify the DataRequest and use idSpec
> Any help will be highly appreciated.
>
> function sendmail() {
>
> var params = [];
> params[opensocial.Message.Field.TITLE]="Give the title here...!";
> var body="ffff ";
> var message = opensocial.newMessage(body, params);
> var recipient = opensocial.DataRequest.Group.VIEWER_FRIENDS ;
> 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 [email protected]
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