Kev*_*ght 33 html facebook web wixcode
我有一个网站,当点击通过Facebook上分享的链接时会触发警告.警告说:"此链接可能存在问题我们检测到此链接:http://www.sjap.online/可能是恶意的.为了确保您的帐户和设备安全,请关注您信任的链接."
我运行了facebook调试工具,我收到以下错误消息:
Inferred Property
The 'og:image' property should be explicitly provided, even if a value can be inferred from other tags.
Inferred Property
The 'og:image' property should be explicitly provided, even if a value can be inferred from other tags.
Run Code Online (Sandbox Code Playgroud)
我搜索了这个问题,我知道它是由网站标题中缺少元信息引起的,但我的网站代码在标题中有以下内容:
<meta http-equiv="etag" content="2efdc27c8967f14e2c829e601f7a1228"/>
<meta property="og:title" content="South Jersey Aerial Photograpahy"/>
<meta property="og:type" content="website"/>
<meta property="og:url" content="http://www.sjap.online/"/>
<meta property="og:image" content="https://static.wixstatic.com/media/56a444_9273e80a60684dc8b38e56025059f356%7Emv2_d_3200_1800_s_2.png"/>
<meta property="og:site_name" content="South Jersey Aerial Photograpahy"/>
<meta property="og:description" content="South Jersey Aerial Photography is South Jersey's premier aerial photography and aerial videography company. Fully licensed and insured. Contact us today!"/>
<meta name="SKYPE_TOOLBAR" content="SKYPE_TOOLBAR_PARSER_COMPATIBLE"/>
Run Code Online (Sandbox Code Playgroud)
我不知道如何修复此错误消息.物业metatag显然在那里.
Ole*_*err 42
简而言之,您应该使用此工具重新获取您的网站信息:https: //developers.facebook.com/tools/debug/og/object/
共享调试器仅从Facebook缓存中检索有关您站点的信息.
更多细节:https://stackoverflow.com/a/44453472/4899346
按照前面提到的指向Facebook对象调试器的链接,请确保您的og标签在打开<head>
标签之后正确写入。
不知道为什么会这样,但是我曾经遇到过完全相同的问题,直到我将它们移到紧接着的位置,然后再次单击“ Fetch new scrape information
”。
希望这可以帮助!
小智 5
即使页面上有正确的 OG 标签,Facebook 仍然可以忽略 og:image 值吗?
在我的 Magento 2 网站上,我使用Magefan 的Magento 2 Facebook Open Graph,即使所有 OG 标签看起来都不错,也遇到了这个问题:-(
我联系他们(magefan)后,他们修复了问题并发布了模块更新v2.0.12
事实证明,Facebook 只在页面源的前 50Kbs 中查找 og:image。因此,如果您使用内联 CSS,或者 og:image 中的某些 JS 将不会被 Facebook 看到。这就是我的情况的原因。
解决方案是将OG标签放在节点中尽可能高的位置。
归档时间: |
|
查看次数: |
67405 次 |
最近记录: |