Open Graph meta tags consist of code snippets that enable your web page to become a rich object. This will help in controlling the display of your web page when it is shared on social media platforms like Facebook or Twitter.
But if you’re facing errors related to og:image, then in this knowledgebase article, we will discuss how to get rid of them.
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 the 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.
If you still have any problems then please feel free to contact our support team in case of any issues related to og:image and they will help you out as soon as possible.