Hello,

I am using opensocial 0.6 and trying to update user's activity stream
using the below code snippet.

var title = "New app activity";
var body= "App body content ........";

var activity = opensocial.newActivity(title);
activity.setField(opensocial.Activity.Field.BODY, body);
activity.setField(opensocial.Activity.Field.TITLE, getOSTime() + "   "
+ title);
activity.setField(opensocial.Activity.Field.MEDIA_ITEMS, "http://
img1.orkut.com/images/medium/XXXXXXXXX/XXXXXXXX.jpg");
opensocial.requestCreateActivity(activity,
opensocial.CreateActivityPriority.HIGH);

The only thing thats working for me is the App title on the updates.
The updates contain no body and media item.

Is there anything I am doing wrong, or is there something that I am
missing?

Any help would be great. Thanks!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Orkut Discussion" 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