Closed. This question is off-topic. It is not currently accepting answers.admin管理员组文章数量:1287791
Your question should be specific to WordPress. Generic PHP/JS/SQL/HTML/CSS questions might be better asked at Stack Overflow or another appropriate Stack Exchange network site. Third-party plugins and themes are off-topic for this site; they are better asked about at their developers' support routes.
Closed 3 years ago.
Improve this questionI am trying to find a solution to my weird problem before breaking my laptop.. I have the following blog and when i try to share a post on facebook the preview in the facebook popup windows is correct but when i click to post it the image shown is the site's logo.
Example /
og:image tag is present in the view source but in the Facebook debugger i get the classic error "The 'og:image' property should be explicitly provided, even if a value can be inferred from other tags." event though the image is shown in the debugger and that the og:image url is correct in the debugger too. I have tried YOAST i have tried manually importing code to create OG tags but still the same error
Closed. This question is off-topic. It is not currently accepting answers.Your question should be specific to WordPress. Generic PHP/JS/SQL/HTML/CSS questions might be better asked at Stack Overflow or another appropriate Stack Exchange network site. Third-party plugins and themes are off-topic for this site; they are better asked about at their developers' support routes.
Closed 3 years ago.
Improve this questionI am trying to find a solution to my weird problem before breaking my laptop.. I have the following blog https://4moms.gr and when i try to share a post on facebook the preview in the facebook popup windows is correct but when i click to post it the image shown is the site's logo.
Example https://4moms.gr/slider/to-savvato-2-oktovrioy-to-school-work-amp/
og:image tag is present in the view source but in the Facebook debugger i get the classic error "The 'og:image' property should be explicitly provided, even if a value can be inferred from other tags." event though the image is shown in the debugger and that the og:image url is correct in the debugger too. I have tried YOAST i have tried manually importing code to create OG tags but still the same error
Share Improve this question asked Sep 29, 2021 at 21:19 Agis SoleasAgis Soleas 1651 gold badge2 silver badges5 bronze badges1 Answer
Reset to default 2The problem is that your HTML is malformed.
You have span tags in the head
. Facebook's debugger sees this, and assumes the head
must have ended and the body
started, and it didn't find any og
tags so far - hence it reports the properties are missing.
If you scroll down in the debugger to "Scraped URL: See exactly what our scraper sees for your URL" you'll see the problem as FB sees it.
本文标签: Facebook share image wrong on post not on debugger
版权声明:本文标题:Facebook share image wrong on post not on debugger 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741294338a2370729.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论