Normally, you should be able to run the Compliance Tests gadget which
is available at 
http://opensocial-resources.googlecode.com/svn/tests/trunk/suites/0.7/compliance/reference/reference.xml.
This won't always work, however, as in this case where it indicates
that orkut does support media items. When you stumble upon a case like
this, you should file a new report in the issue tracker since the
container may be incorrectly reporting its support of a certain
capability or function.

http://code.google.com/p/opensocial-resources/wiki/IssuesTab?tm=3

One approach that is guaranteed to work is the OpenSocial Dev App at
http://www.orkut.com/Main#AppInfo.aspx?appId=291092957065. This
application includes a test console which you can use to test a
snippet (in this case, posting an update which includes a media item)
to see if it appears in the container.

- Jason

On Oct 22, 4:57 pm, eduardorochabr <[EMAIL PROTECTED]> wrote:
> 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