Hi Toton,
function postActivity(ftitle, fbody)
{
title = ftitle;
body = fbody;
var data = {};
data[opensocial.Activity.Field.TITLE] = title;
data[opensocial.Activity.Field.BODY] = body;
var activity = opensocial.newActivity(data);
opensocial.requestCreateActivity(
activity,opensocial.CreateActivityPriority.HIGH,onActivityPosted);
}
Pass title and body of the feed you want to post.
It accepts Html,images etc..
Call the function whenever you want to send feed.
--
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.