Hi, I have used requestSendMessage to send message:it is sending message to owner only.Pop up box appears and send message to owner. I want to send message to owner friends.Plz help me...
Code listed below send message to owner only: function sendmail(){ var params = {}; params[opensocial.Message.Field.TITLE]="Hello"; var body="How are you ??"; var message = opensocial.newMessage(body, params); var recipient = opensocial.IdSpec.PersonId.OWNER; opensocial.requestSendMessage(recipient, message); } and if i used this code ..then it is not sending message to owner friends ..plz help me.. it's urgent... function sendmail(){ var params = {}; params[opensocial.Message.Field.TITLE]="Hello"; var body="How are you ??"; var message = opensocial.newMessage(body, params); var recipient = opensocial.IdSpec.Group.OWNER_FRIENDS; opensocial.requestSendMessage(recipient, message); } Thanks. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---