Opengraph元标记og:类型设置为"产品"错误(如按钮和URL linter/debug)

geo*_*rge 7 html tags facebook-like facebook-opengraph

我们最近注意到我们的Facebook按钮停止工作.为了调查我通过Facebook的调试器(旧URL Lint)工具运行URL,它给了我这个错误:

Object Type Not Allowed:    
Object at URL 'https://savingstar.com/coupons/boursin-cheese/4edfd63fec0f2532eb000106' of type 'og_products:product' is invalid because it the specified fb:app_id '111777372238952' is not the owner of specified og:type.
Run Code Online (Sandbox Code Playgroud)


我怀疑这与新的Open Graph Beta类型有些关系,但我似乎无法找到任何证据.我怀疑是我需要取消fb:app_id赞成fb:admins,但是如果有其他人遇到这个问题并且解决了它,我很乐意听到.

我们目前看到的示例网址:https:
//savingstar.com/coupons/boursin-cheese/4edfd63fec0f2532eb000106

以下是Facebook URL剪贴板看到的相关元标记的略微编辑版本(使用调试工具中的链接):

<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta content="grocery,coupon,coupons,ecoupon,ecoupons,grocery coupons,food coupons,groceries coupons,coupons for food" name="keywords">
<meta content="Get our exclusive Boursin Cheese coupon - expires 1/4/2012." name="description">
<meta content="Boursin Cheese Coupon" name="title">
<meta content="Buy ANY ONE (1) variety of Boursin Cheese, Save $1.00" property="og:title">
<meta content="product" property="og:type">
<meta content="https://savingstar.com/coupons/boursin-cheese/4edfd63fec0f2532eb000106" property="og:url">
<meta content="https://static1.savingstar.com/images/dyn/1897.png" property="og:image">
<meta content="SavingStar" property="og:site_name">
<meta content="Save big $$ on your groceries with SavingStar eCoupons. Nothing to clip. Nothing to print." property="og:description">
<meta content="111777372238952" property="fb:app_id">
Run Code Online (Sandbox Code Playgroud)

正如你能看到我的设置og:type,以product这里作为Facebook的喜欢按钮文档中指出:https://developers.facebook.com/docs/opengraph/#types

更新2011-12-14:看起来我的问题很可能与报告和确认的错误有关http://developers.facebook.com/bugs/285421101492706

当我确认这是我的问题的根本原因时,我会更新此信息.

bbr*_*own 6

og:type如果您查看官方的Open Graph Protocol页面,看起来似乎没有"产品" .官方谷歌集团没有讨论它,但Facebook集团有一个问题.

您需要指定自己的命名空间并键入或使用其中一个内置函数.