Open Graph Object Debugger与站点上的Facebook Share不匹配 [英] Open Graph Object Debugger does not match Facebook Share from site

查看:72
本文介绍了Open Graph Object Debugger与站点上的Facebook Share不匹配的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在angularjs应用程序中实现了一个Facebook共享按钮,并完成了所有必要的工作以使我的元标记更新并被Facebook的搜寻器读取后,我发现Facebook的调试器工具与共享对话框显示的内容不匹配. /p>

如果我在链接上运行调试器,则会获得成功的抓取,该抓取可提取所有元标记内容,并显示共享对话框的外观.然后,如果我单击预览以查看实际的共享对话框,则会得到不同的结果,好像它没有在读取元标记内容一样.我实际网站上的共享"按钮也是如此.

有什么想法吗?

解决方案

这可能是协议不一致的问题.确认您在调试器上没有使用http://,在实际站点上没有使用https://,反之亦然.确保所有og标记均设置了正确的协议,并且不忽略该协议.

I am implementing a facebook share button in an angularjs app and after doing all the necessary stuff to get my meta tags updated and read by Facebook's crawler, I am seeing a mismatch between Facebook's debugger tool and what the share dialog shows.

If I run the debugger on my link, I get a successful scrape that pulls all of the meta tag content and shows what the share dialog should look like. Then if I click on the preview to see that actual share dialog, I get a different result as if it is not reading the meta tag content. The same goes for the share button on my actual website.

Any thoughts?

解决方案

This might be an issue with protocol inconsistancy. Check you're not using http:// on the debugger, vs https:// on the actual site, and vice versa. Ensure all of your og tags have the correct protocol set, and that the protocol is not omitted.

这篇关于Open Graph Object Debugger与站点上的Facebook Share不匹配的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆