大佬教程收集整理的这篇文章主要介绍了html – Opengraph元标记og:类型设置为“产品”错误(如按钮和URL linter / debug),大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
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,但是很想知道是否有其他人遇到过这个问题并解决了它.
我们当前看到的示例网址:
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@R_202_6964@"> <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设置为产品,如facebook like-button文档中所述:https://developers.facebook.com/docs/opengraph/#types
更新2011-12-14:看起来我的问题很可能与http://developers.facebook.com/bugs/285421101492706报告和确认的错误有关
当我确认这是我的问题的根本原因时,我会更新这个.
@H_618_19@您将需要specify your own命名空间并键入或使用其中一个built-ins.
@H_618_19@ @H_618_19@以上是大佬教程为你收集整理的html – Opengraph元标记og:类型设置为“产品”错误(如按钮和URL linter / debug)全部内容,希望文章能够帮你解决html – Opengraph元标记og:类型设置为“产品”错误(如按钮和URL linter / debug)所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。