Hi everyone! How can I send message to post it on user's wall?
I'm using follow code:

            function postMessage(id, body) {

                 var params = {};
                 params[opensocial.Message.Field.TITLE] = "Some
Title";
                 params[opensocial.Message.Field.TYPE] =
opensocial.Message.Type.PUBLIC_MESSAGE;

                 var message = opensocial.newMessage(body, params);

                 opensocial.requestSendMessage(id, message,
function(data) {
                     console.log(data);
                 });

            }

Is it correct way?
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 [email protected].
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