You can send a message to a friend using this piece of code: var params = []; params[opensocial.Message.Field.TITLE]= your_title; params[opensocial.Message.Field.TYPE]= opensocial.Message.Type.NOTIFICATION; var body = '<div>'+ your_message + '</div>'; var message = opensocial.newMessage(body, params); var ret = opensocial.requestSendMessage(friend_id, message);
to send for a group, i.e. the viewer friends, replace the last line with this one: var ret = opensocial.requestSendMessage('VIEWER_FRIENDS', message); On Oct 13, 6:00 am, Saramahesh <mahe.sak...@gmail.com> wrote: > How to open invite friends [Mail window] dialog box in my orkut > OpenSocial Application? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "OpenSocial Application Development" group. To post to this group, send email to opensocial-api@googlegroups.com To unsubscribe from this group, send email to opensocial-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/opensocial-api?hl=en -~----------~----~----~----~------~----~------~--~---