Hello,

I have the following activity stream code

function createActivity() {
var title= '';
title = ', Title ';
alert(1);
activity_params[opensocial.Activity.Field.TITLE] = title;
var activity = opensocial.newActivity(activity_params);
alert(activity);
opensocial.requestCreateActivity(activity, "HIGH",
getCreateActivityResp);
}
function getCreateActivityResp(responseItem) {
console.log(responseItem);
var htmlout = '';
if(responseItem.hadError()){
//htmlout= 'has error: ' + responseItem.ErrorMessage;
//alert(responseItem.ErrorMessage +'has error');
}
else{
alert('create activity good!')
}
}
createActivity();

I need to include the body also along with the title in the above
code.
In the body I should put the hyperlink to the application.
Can anyone suggest the modification to include the body in the above
code.?

Thanks and Regards
Sharath
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to