【发布时间】:2013-03-29 13:36:02
【问题描述】:
【问题讨论】:
标签: facebook facebook-opengraph
【问题讨论】:
标签: facebook facebook-opengraph
og:type 属性的type 可以是任何您想要的,只要您在应用程序中设置了Open Graph Story。设置故事时,系统会要求您提供action,例如“cook”、“eat”、“walk”等,以及一个对象,例如“food”、“dessert”或“路线”。该对象被合并到您在打开的图形标签中提供的“类型”中。
例如,如果我的应用 DessertTaster 有一个开放的图表故事:
{user} tasted this dessert
动词(动作)为“味道”,宾语为“甜点”,对应的og:type标签为:
<meta property="og:type" content="desserttaster:dessert" />
如果您开发了一个使用默认故事之一的应用程序(Facebook 鼓励这样做),那么您可能有一个 og 故事对,其中包含一个动作 news.reads 和对象 article。
<meta property="og:type" content="article" />
在这种情况下,不需要应用命名空间。
【讨论】:
Facebook Developers Sharing Guide for Webmasters 中有一个指向List of Types 的链接,分别是:
music.song
music.album
music.playlist
music.radio_station
video.movie
video.episode
video.tv_show
video.other
article
book
profile
website
【讨论】: