In this knowledgebase article, we will discuss everything about the ‘og: image’ property.
What Is ‘og: Image’ Property Should Be Explicitly Provided Error?
If you have shared a URL on Facebook then Facebook will memorize all the information that is associated with that particular URL. It doesn’t matter even if the URL is blank or you have specified the wrong URL.
You might have come across the below error as shown:
Inferred Property The 'og:image' property should be explicitly provided, even if a value can be inferred from other tags.
If you do not have the Open Graph tags specified, then Facebook will only fill in the gaps for image, title, and description.
How to Fix ‘og: Image’ Property Should Be Explicitly Provided Error?
In order to solve this error, first of all, you need to install Rank Math so that we can add the og:image and other OpenGraph tags. You can check the page source by Right-clicking on your page and clicking on View Page Source. Then find the og:image tag as shown below:
However, Facebook only checks for og:image in the first 50Kbs of the page source. If you are using inline CSS, the og:image will not be seen by Facebook. Also if you have minification on and it is set to be aggressive then also it might break the Open Graph tags.
But if you are using Rank Math plugin then you need not worry about the above-discussed issues as they will not be applicable to you. You can also make use of the filters for the Open Graph tags provided by Rank Math.