Great. I will check it out. Thanks for the update Jason.
Swapnil.

On Tue, Oct 14, 2008 at 2:20 PM, Jason <[EMAIL PROTECTED]> wrote:

>
> Hi Swapnil. This morning's sandbox push fixed the bug, and I just
> confirmed that requestSendMessage is working. You may have to clear
> your browser's cache in order to get the updated JavaScript.
>
> - Jason
>
> On Oct 13, 2:56 pm, Jason <[EMAIL PROTECTED]> wrote:
> > Clint: arrays are not currently allowed for the recipients parameter.
> > You can pass in an arbitrary ID string or one of the OWNER, VIEWER,
> > OWNER_FRIENDS, or VIEWER_FRIENDS constants.
> >
> > Swapnil: yes, there does seem to be an issue with requestSendMessage
> > on the sandbox. Please test your code inhttp://prod.sandbox.orkut.com
> > until this issue is resolved. I just verified that the following
> > routine continues to work in the prod sandbox environment:
> >
> > function sendEmail() {
> >   var params = [];
> >   params[opensocial.Message.Field.TITLE]="Hola!";
> >   var body="Como estas?";
> >   var message = opensocial.newMessage(body, params);
> >   var recipient = opensocial.DataRequest.PersonId.OWNER;
> >   opensocial.requestSendMessage(recipient, message);
> >
> > };
> >
> > - Jason
> >
> > On Oct 10, 7:57 am, Clint <[EMAIL PROTECTED]> wrote:
> >
> > > Hi all,
> >
> > > I've tried several examples of using requestSendMessage in both v0.7
> > > and v0.8 and I always receive the 'notImplemented' status code.  By
> > > looking at other posts, I can clearly see that some developers have
> > > been able to get this to work. Can anyone help?
> >
> > > Here is one of the many simple examples I have tried so far.
> >
> > >                         var params = [];
> > >                         var titleName = "This is the title of a
> message";
> > >                         params[opensocial.Message.Field.TITLE] =
> titleName;
> > >                         var body = "This is a message";
> > >                         var message = opensocial.newMessage(body,
> params);
> > >                         var recipients = [];
> > >                         recipients[0] = to_ids;
> > >                         opensocial.requestSendMessage(recipients,
> message, callback);
> >
> > > Thanks,
> >
> > > Clint
> >
>

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