Problem with og:image property when sharing post on Facebook
Hello,
For a long time, when sharing a post from my blog on Facebook, the image in the posts is not shared.
In the Facebook debugging tool https://developers.facebook.com/tools/debug it warns me:
"Inferred property: The "og:image" property must be provided explicitly, even if its value can be inferred from other tags."
Looking at the source code for all my posts, I see that the posts have the correct og:image property, but it doesn't display on Facebook.
I have updated everything: Wordpress version, Betheme version 26.5.1.3 and also the plugins. It still doesn't work.
I have disabled the possible conflicting plugins:
- Litespeed Cache
-Yoast SEO
But it still doesn't work.
Could it be Betheme's problem?
All my blog posts are here https://www.mokasol.es/%e2%98%95el-blog-del-cafe/. In case you need to test with the posts.
I am waiting for your answer.
Greetings.
Comments
Hi,
Did you set the OG image in the YOAST settings?
https://yoast.com/help/custom-open-graph-tags/
Please, go to Betheme -> Theme options -> SEO, and check if you have built-in fields disabled.
Thanks
Betheme SEO built-in fields were already disabled.
On the other hand, I have the Yoast plugin installed and Open Graph metadata enabled.
I don't know what is the problem.
I have solved the problem, it was due to a bad Facebook Pixel code inserted in the Betheme theme options.
Thanks even so.
That is great.
If you have any other questions or problems, feel free to ask.
Thanks