Hi Imoracle. Are you using the proper constant? Since OWNER_FRIENDS and VIEWER_FRIENDS refer to a group of people, they live under a slightly different namespace:
opensocial.DataRequest.Group.OWNER_FRIENDS opensocial.DataRequest.Group.VIEWER_FRIENDS These constants are also used when requesting data in OpenSocial -- see http://code.google.com/apis/opensocial/articles/datarequests/datarequests-0.7.html#identifiers for more details. - Jason On Nov 4, 5:14 am, imoracle <[EMAIL PROTECTED]> wrote: > Any updates on this one? > > On Nov 2, 7:54 pm, imoracle <[EMAIL PROTECTED]> wrote: > > > Hi, > > > I am trying the very basic code given on your blog post. > > It works great for VIEWER and OWNER but not for VIEWER_FRIENDS and > > OWNER_FRIENDS > > > Here is the code: > > > 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.VIEWER; > > opensocial.requestSendMessage(recipient, message);}; > > > sendEmail(); > > > It works great but if you replace VIEWER with VIEWER_FRIENDS or > > OWNER_FRIENDS the ajax call dies out. I am trying this through > > OpenSocial Dev App (orkut) > > > Any updates or bug fix are much appreciated. > > > Regards, > > Imoracle --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---