On Mon, Oct 12, 2009 at 8:40 PM, Shikhar Sachan
<shikhar.sac...@gmail.com> wrote:
> Any update on this bug. Is this feature up yet. If yes please pass me
> on the code.
> In case of V7 it is
>
> 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);
> }
>
>
>
> On Thu, Aug 27, 2009 at 6:58 PM, Shikhar Sachan
> <shikhar.sac...@gmail.com> wrote:
>> thats what I thought ... thanks a lot for your response
>>
>> with kind regards
>> Shikhar
>>
>> On Thu, Aug 27, 2009 at 5:59 PM, Athira JJ<api.ath...@google.com> wrote:
>>>
>>> Sorry for not having gotten back to earlier.
>>> Its a bug internally. Thanks for your note.
>>> We are looking at it.
>>> Would get back to you as soon as it is fixed.
>>> Please feel free to email if you have any further questions.
>>>
>>> Regards,
>>> Athira
>>>
>>> On Aug 23, 2:41 am, Shikhar Sachan <shikhar.sac...@gmail.com> wrote:
>>>> ?
>>>>
>>>> On Fri, Aug 21, 2009 at 5:44 PM, Shikhar Sachan<shikhar.sac...@gmail.com> 
>>>> wrote:
>>>> > any clue on the above problem ...
>>>> > just keeping the post on top.
>>>>
>>>> > Thanks and regards
>>>>
>>>> > Shikhar
>>>>
>>>> > On Thu, Aug 20, 2009 at 5:12 PM, Shikhar 
>>>> > Sachan<shikhar.sac...@gmail.com> wrote:
>>>> >> Thanks for your help Athira
>>>>
>>>> >> However I you cansendmessage to group of friends in v .7. I am sure
>>>> >> of that as I have done
>>>> >> it and the above code does the same.
>>>> >> Also I know that that we need to change v-.8 in module pref tag.
>>>> >> What I specifically want to know is, how do i modify
>>>>
>>>> >> var recipient = opensocial.DataRequest.Group.VIEWER_FRIENDS ;
>>>>
>>>> >> should I do something like
>>>>
>>>> >> var friend =opensocial.newIdSpec({ "userId" : "VIEWER", "groupId" :
>>>> >> "FRIENDS" });
>>>> >> var recipient = opensocial.DataRequest(friend);
>>>>
>>>> >> this is exactly what I am looking for. And the above doesn't seem to 
>>>> >> work
>>>>
>>>> >> please help
>>>>
>>>> >> On Thu, Aug 20, 2009 at 12:44 PM, Athira JJ<api.ath...@google.com> 
>>>> >> wrote:
>>>>
>>>> >>> 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 <shikhar.sac...@gmail.com> 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 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);
>>>>
>>>> >>>> }
> idSpec
>>>> >>>> Any help will be highly appreciated.
>>>>
>>>> >>>> >> >>>
>>>
>>
>

--~--~---------~--~----~------------~-------~--~----~
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 
opensocial-orkut+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to