Any body please let me know the code to insert both text and image in the activity stream.
This is the code i tried which inserts only image but not the corresponding text: function createActivity() { var title= ''; title = ', Title '; var activity_params=[]; activity_params[opensocial.Activity.Field.TITLE] = title; activity_params[opensocial.Activity.Field.BODY] = '<a href="/ AppInfo.aspx"><img src="http://hosting.gmodules.com/ig/gadgets/file/ default.jpg"/>TEXT HERE</a>'; var activity = opensocial.newActivity(activity_params); 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!') } } --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---