Hi, I am currently developing an application (in sandbox). Here I am trying to update activity stream with title and image thumbnail of the viewer. The activity stream gets updated successfully, but I am able to get only the title in the update and not the image thumbnail. Can anyone help me if I am missing something. I have given below the code snippet which I have used.
var title = globalViewer + ' has recently attended ' +message; var params = {}; params[opensocial.Activity.Field.TITLE] = title; var mediaItems = new Array(); var imgMTB = opensocial.newActivityMediaItem (opensocial.Activity.MediaItem.Type.IMAGE, viewer.getField (opensocial.Person.Field.THUMBNAIL_URL)); mediaItems.push(imgMTB); params[opensocial.Activity.Field.MEDIA_ITEMS] = mediaItems; var activity = opensocial.newActivity(params); opensocial.requestCreateActivity(activity, opensocial.CreateActivityPriority.HIGH, function() {alert("Posted");}); --~--~---------~--~----~------------~-------~--~----~ 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 opensocial-orkut+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/opensocial-orkut?hl=en -~----------~----~----~----~------~----~------~--~---