hello ashcsi,

i think mediaitems in activities are not supported, check this link:
http://code.google.com/intl/es-419/apis/orkut/docs/orkutfeaturemapping.html#activity

<http://code.google.com/intl/es-419/apis/orkut/docs/orkutfeaturemapping.html#activity>
regards!

Roberto

2011/6/1 ashcsi ashcsi <[email protected]>

> Hello All,
>
> How do we post image, media in the opensocial orkut activity stream. I am
> using the following code:
>
>     var params = {};
>     var image = opensocial.newMediaItem('IMAGE','http://path_to_png');
>     params[opensocial.Activity.Field.TITLE] = "TEST TITLE";
>     params[opensocial.Activity.Field.BODY] = "This is a sample text";
>     params[opensocial.Activity.Field.MEDIA_ITEMS] = image;
>     var activity = opensocial.newActivity(params);
>     opensocial.requestCreateActivity(activity,
> opensocial.CreateActivityPriority.HIGH, callback);
>
> But the image is not getting displayed. Any ideas?
>
> thanks
>     ashy
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "orkut Developer Forum" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/opensocial-orkut/-/bTBmQ1pyMGZ6TVFK.
> 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.
>

-- 
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