【发布时间】:2012-01-18 18:04:33
【问题描述】:
我们最近注意到我们的 facebook like 按钮停止工作。为了调查,我通过 Facebook 的 Debugger(旧 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.
我怀疑这与新的 Open Graph Beta 类型有关,但我似乎找不到任何证据。我的怀疑是我需要删除 `fb:app_id` 以支持 `fb:admins`,但我很想知道是否有人遇到了这个问题并解决了它。
我们目前看到的示例 URL:
https://savingstar.com/coupons/boursin-cheese/4edfd63fec0f2532eb000106
这里是相关元标记的略微编辑版本,作为 Facebook URL scraper 看到它(使用调试器工具中的链接):
<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">
如您所见,我将og:type 设置为product,如此处的 facebook 喜欢按钮文档中所述:https://developers.facebook.com/docs/opengraph/#types
2011-12-14 更新:看起来我的问题很可能与此处报告并确认的错误有关 http://developers.facebook.com/bugs/285421101492706
当我确认这是我的问题的根本原因后,我会更新它。
【问题讨论】:
标签: html tags facebook-like facebook-opengraph