English 中文(简体)
公开图表(国与国)——利用全球行动和全球目标以及习俗
原标题:Open Graph (beta) - using global actions and global objects together with custom ones

我的设想是:

I want to create a custom object called Music Video (because I don t see a global one) create a property for it of object type Song (I assume there s a global object Song, with artist, title, album, etc properties) and I also want to hook it up to the global action Watch. Is this possible? If not, what workaround do you suggest?

最佳回答

The built-in watch action can only be performed on objects of the type movie , tv_show , episode or video.other . As these are built-in objects, you can t modify them by adding references to other objects such as a Song object.

你有两种选择:

(1) 模仿你的音乐录像:录像带,并发表在网上观看行动上——在这种情况下,你会从使用内装行动中获得一切好处,但你可以在你的行动中引用Song或任何其他物体。

2) 制作习惯音乐录像带,将其与使用和反对财产的原装的Song物体连接起来,并发表在习俗游戏中。 这种办法使你完全控制了时间表的汇总、标的参考资料和行动参考资料,但是,在开放图象从Beta外出之前,你可以公开启动这种融合,在时间线推出之后不久就会发生这种情况。

问题回答

令人痛心的是,由于全球行动的消费者不知道如何把你的特别目标混为一谈,你可以不使用全球行动。

在播放音乐录像时,你自己也采取行动。





相关问题
asp.net global resources problem

I have a weird problem with global resources in my asp.net mvc web application. I have some resources in separate project(not a web app project). Those resources have following settings: Build action:...

"Global variable" in Visual C#

I have made the Graph class, and i want to simulate a distribution network. The Graph works 100%. But, i want to use that same struct/class in all my application! For example: I have Form1 that shows ...

VB.NET - Imports namespace from other projects in Solutions

In my Solutions in Visual Studio, I have 3 projects. - Common (Root namespace: PodcastPlayer.Common) -PodcastPlayer (Root namespace: PodcastPlayer) This is the Silverlight project. -PodcastPlayer.Web (...

PHP Variable Scope

Is there a way to declare a variable so it is available in all functions. Basically I want to call: Global $varName; automatically for every function. And no, I can t use a constant. I don t think ...

global variable in ASPX C#

I write a ASPX c# page, and I MUST use a global variable like this; public static Decimal _Total; protected void Page_Load(object sender, EventArgs e) { if (Page.IsPostBack == false) ...

热门标签