Is there a place I can refer to I avoid implementing something
unsupported, *before* actually spend time on it?

On 6 out, 20:01, Jason <[EMAIL PROTECTED]> wrote:
> Media items are not supported in orkut at this time.
>
> - Jason
>
> On Oct 3, 11:47 am, Vineet <[EMAIL PROTECTED]> wrote:
>
> >         var params = {};
>
> >         var mediaItems = new Array();
>
> >                         if(choice==1)
> >                 {
>
> >  var mediaItem =
> > opensocial.newActivityMediaItem(opensocial.Activity.MediaItem.Type.IMAGE,
> > "http://www.google.com/images/logo_sm.gif";);
> >     mediaItems.push(mediaItem);
>
> >           var title = ' ABC ' +
> > globalFriends.getById(friend).getDisplayName();
>
> >                  }
>
> >                         else if(choice==2)
> >                 {
>
> >           var title = ' PQR ' +
> > globalFriends.getById(friend).getDisplayName();
>
> >  var mediaItem =
> > opensocial.newActivityMediaItem(opensocial.Activity.MediaItem.Type.IMAGE,
> > "url");
> >   mediaItems.push(mediaItem);
> >                  }
>
> >           params[opensocial.Activity.Field.TITLE] = title;
> >           params[opensocial.Activity.Field.MEDIA_ITEMS] = mediaItems;
> >           var activity = opensocial.newActivity(params)
> >           opensocial.requestCreateActivity(activity,
> > opensocial.CreateActivityPriority.HIGH, function() {});
>
> > I am using the above piece of code in one of my applications. Now the
> > updates section is only showing me the title. It takes properly the
> > title according to the codintion.
> > It is not at all showing the images. Means the MediaItem feature is
> > not working.
> > Can anyone help me in this matter.
>
> > Thanks in advance
>
> > Regards,
> > Vineet
--~--~---------~--~----~------------~-------~--~----~
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