patila...@gmail.com
unread,Apr 4, 2009, 6:36:33 AM4/4/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Orkut Developer Forum
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.