无法修复:即使可以从其他标记中推断出值,也应明确提供'og:image'属性 [英] Can't fix: 'og:image' property should be explicitly provided, even if a value can be inferred from other tags
问题描述
我有一个网站在点击Facebook上的链接时触发警告。该警告说:此链接可能存在问题
我们检测到此链接: http://www.sjap .online / 可能是恶意的。
为了保证您的帐户和设备的安全,请仅遵循您信任的链接。
我运行facebook调试工具和我得到以下错误信息:
推断的属性
应该显式提供'og:image'属性即使可以从其他标签推断出一个值。
推断的属性
即使可以从其他标签推断出值,也应明确提供'og:image'属性。
我搜索了这个问题,我知道这是由于网站标题中缺少元信息,但我网站的代码在标题中有以下内容:
< meta http-equiv =etagcontent =2efdc27c8967f14e2c829e601f7a1228 />
< meta property =og:titlecontent =South Jersey Aerial Photograpahy/>
< meta property =og:typecontent =website/>
< meta property =og:urlcontent =http://www.sjap.online//>
< meta property =og:imagecontent =https://static.wixstatic.com/media/56a444_9273e80a60684dc8b38e56025059f356%7Emv2_d_3200_1800_s_2.png/>
< meta property =og:site_namecontent =South Jersey Aerial Photograpahy/>
< meta name =SKYPE_TOOLBARcontent =SKYPE_TOOLBAR_PARSER_COMPATIBLE/>
我不知道如何解决这个错误信息。房产metatag显然存在。简而言之,您应该使用以下工具重新获取您的网站信息:
https://developers.facebook.com/tools/debug/og/object/
共享调试器仅检索关于您网站的信息来自Facebook缓存。
更多详情: https://stackoverflow.com/a/44453472/4899346
I have a website that triggers a warning when clicked through a link shared on facebook. The warning says: "Possible problem with this link We have detected that this link: http://www.sjap.online/ may be malicious. To keep your account and device secure, only follow links you trust."
I ran the facebook debug tool and I get the following error message:
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.
I googled this issue and I understand it is caused by some lack of meta information in the site header, but my site's code has the following in the header:
<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"/>
I have no idea how to fix this error message. The property metatag is clearly there.
In short, you should re-fetch your website information using this tool: https://developers.facebook.com/tools/debug/og/object/
Sharing Debugger only retrieves the information about your site from the Facebook cache.
More details here: https://stackoverflow.com/a/44453472/4899346
这篇关于无法修复:即使可以从其他标记中推断出值,也应明确提供'og:image'属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!