Tutorial: How to Fix the og:image Open Graph Meta Tags are Missing Critical Issue (with pictures)

If you’re paying attention to your search engine optimization errors you’re likely here due to Some Open Graph Meta Tags are Missing critical error which is caused by an og:image meta tag missing from your website and is identified by the All In One SEO Pack SEO Analysis — we’ll cover how to address this issue in this guide.

Facebook Open Graph tags define how URLs are displayed [9]; if these Facebook Meta Tags (OGP tags) are incomplete, then the URL may not display properly.

Missing Open Graph Tags TOC

Open Graph Tags (OGP tags) are supported by many websites and applications at this point, including social networks such as Facebook (see the Facebook Sharing Debugger), LinkedIn (see the LinkedIn Post Inspector), Instagram, Skype, WhatsApp, ServiceNow, to name just a few.

Note that I have an article that covers getting the Open Graph image tag embedded in a page on a WordPress website to properly render in WhatsApp.

Twitter supports both the Twitter Cards (see the section on the Twitter Card Validator in the article explaining how to test OGP tags) as well as OGP tags.

If a link is shared to a page that has Twitter Cards then Twitter will use these settings however if Twitter Cards are not available, Twitter will use OGP Tags if they’re available on the page.

Open Graph Tags are used heavily on this website and the section entitled Addition of Schemas for Rich Snippets SEO Case Study provides additional information about adding schemas for rich snippets using the All in One SEO (AIOSEO) plugin for WordPress.

In this post we’ll take a look at the Open Graph Protocol, we’ll review the og:image meta tag, we’ll confirm that some OpenGraph meta tags are missing (which directly relates to the Open Graph Meta Tags are Missing critical error), and then we’ll remedy this issue.

Finally, we’ll take a brief look at the Facebook for Developers: Sharing Debugger and we’ll conclude with a quiz.

This article relies on WordPress and the All In One SEO Pack plugin (AIOSEO).

What is the og:image meta tag?

The og:image tag is used to display a thumbnail image when a link is shared on Facebook.

In WordPress and specifically for this article, the URL to the featured image in a post or article will be used as the og:image value.

If the og:image tag is not set then the AIOSEO pack’s social media default post Facebook image will be used instead.

Since this value is not set, a critical issue is noted when we run an SEO audit.

We have other options aside from using the featured image, and these are shown below and keep in mind that the setting applies to the entire site.

All In One SEO Pack: Social Networks: Default Post Image Source with a pointer to the Featured Image
All In One SEO Pack (AIOSEO): Social Networks: Default Post Image Source with a pointer to the Featured Image

Why should we care that an og:image meta tag is missing?

The article entitled “How to Optimize Blog Images for Social Sharing: An Intro to Open Graph Tags” explains why the og:image meta tag is important: missing an image could result in an incorrect image being used or no image at all.

Missing an image will hurt social media performance and failing to maximize the potential of a share due to an issue that is easy to fix in WordPress results in a lost opportunity.

There are many articles that suggest how to maximize engagement on social media platforms and one recommendation which applies irrespective of the platform involves adding a picture.

According to the article entitled “7 Powerful Facebook Statistics You Should Know for a More Engaging Facebook Page“, posts that include an image receive 39% higher engagement — this article is an excellent read and includes other metrics and references that are worth reviewing.

The AIOSEO SEO Audit Indicates That Some Open Graph Meta Tags Are Missing

After running an SEO audit we now have two critical issues, one of which includes the missing og:image meta tag.

If you don’t set a featured image on a page or post, the default image, which is not set, will be used.

Let’s take a look at audit results in the following image — note the red pointer which indicates that we have some critical issues to address, including some OpenGraph meta tags are missing.

AIOSEO All In One SEO Pack SEO Analysis SEO Audit Checklist with "Your Overall Site Score" of 90% and a pointer to two critical errors, one of which involves the og image Open Graph meta tags checker to determine that the image has not been set.
Your Overall Site Score of 90% is excellent but the og image Open Graph meta tags checker indicates that there are two critical issues.

Next, we take a closer look at the critical issue details.

AIOSEO All In One SEO Pack SEO Analysis with a pointer to "Some Open Graph meta tags are missing." for the og:image meta tag.
The og:image Open Graph meta tag is missing.

In this section we’ll cover step-by-step what’s required to fix the Open Graph Meta Tags are Missing critical error in AIOSEO.

Step One: Set the default post Facebook image in the AIOSEO Social Networks setting

To remedy this issue, we set the default post Facebook image in the AIOSEO Social Networks setting.

The image below includes two red pointers that indicate where the change needs to be applied.

The AIOSEO Social Networks Facebook tab included here with a pointer to the Default Post Facebook Image which, when set, will remedy this issue.
The AIOSEO Social Networks Facebook tab is included here with a pointer to the Default Post Facebook Image which, when set, will remedy this issue.

Step Two: Refresh the SEO Audit Checklist

Next, we refresh the results of the audit and we can see that this issue has been addressed successfully.

Be advised, however, that there will still be a problem if the image size is not compliant with Facebook image dimension requirements — we will cover this shortly.

The AIOSEO Technical SEO Audit score of 96% has improved after setting the Default Post Facebook Image and we have fixed the og:image Open Graph Meta Tags are Missing critical issue.
The AIOSEO Technical SEO Audit score has improved after setting the Default Post Facebook Image and we have fixed the og:image Open Graph Meta Tags are Missing critical issue.

Free SEO Consultation

A Free SEO Consultation is an opportunity for you to receive specialist advice regarding how to improve your website's visibility in search engine results. This hour-long SEO consultation can help to identify opportunities that lead to increased organic traffic, improve user experience (UX), and achieve your digital marketing goals. This offering is for business websites only and is restricted to prospective clients located in the United States, Canada, or the European Union.

The image below shows us that the OpenGraph Meta Tags have been found.

AIOSEO SEO Analysis Advanced SEO Results with a pointer to the notification that "All the required Open Graph meta tags have been found."
All the required Open Graph meta tags have been found.

To optimize social media sharing of your content, conducting an Open Graph test is important since it ensures that posts are displayed correctly across various platforms and applications.

In the next section, we’ll take a brief look at the Facebook for Developers: Sharing Debugger.

Facebook for Developers: Sharing Debugger Can Be Helpful When Some Open Graph Meta Tags are missing

We can test the og:image meta tag link preview on Facebook using the Facebook for Developers: Sharing Debugger console (FB Sharing Debugger).

The FB Sharing Debugger requires that the user authenticates with Facebook, otherwise it is freely available for developers to test with.

According to [7], we can also use the Facebook Sharing Debugger tool to refresh scraped content — this is helpful when a website is undergoing many changes in a short period of time.

To test the Open Graph Tags, enter the URL and then hit the “Debug” button.

The Open Graph test result below has pointers to the link preview as well as the og:image URL value.

The Facebook for Developers Sharing Debugger After Debug with pointers to the Link Preview and the og:image url.
The Facebook for Developers: Sharing Debugger console after analyzing ThosPFuller.com -- note the link preview and the og:image settings.

Testing with the Facebook for Developers: Sharing Debugger is helpful when Open Graph Meta Tags are Missing

The initial testing of Open Graph tags that was performed for this article relied on the index page of this website, which has acceptable feature image dimensions, and hence no warnings were raised.

Ironically, this was not the case for this page, where the featured OG image size did not meet the minimum size constraints set by Facebook resulting in a warning being raised, below.

The Facebook for Developers Sharing Debugger page with a pointer to the first warning which notes that the image is too small; the second warning involved the fb:app_id missing property.
The Facebook for Developers Sharing Debugger page with a pointer to the first warning which notes that the image is too small.

The Facebook for Developers: Sharing Debugger has found two problems with a page analysis; for this article, we are concerned only with the image being too small.

In this example the og:image meta tag points to an image that is not valid because it did not meet the minimum OG image size constraint of 200px by 200px.

The lesson learned is that even though the AIOSEO pack SEO Analysis tests for the presence of the og:image meta tag it does not test that the size is correct and we must have both.

We can see the manifestation of this problem when we post a URL to our friends on Facebook, as demonstrated in the following example.

A Facebook post with the wrong feature image added by default.
A post on Facebook with an og:image meta tag value set to a featured image which is not the appropriate size -- this results in another image being used instead.

How to Fix the "Image Too Small" Warning in the Facebook Sharing Debugger

In order to fix this issue, the original image must be appropriately resized — this will address the “Image Too Small” warning.

Note that I had to press the “Scrape Again” button, otherwise Facebook was pulling the cached image.

The Facebook for Developers page with only one warning which pertains to a missing fb:app_id.
A warning "the following required properties are missing: fb:app_id" and recommendation this it should be fixed for improved engagement when posting messages on Facebook.

Finally, when we post the URL to this page, we can see that the featured image is now used by Facebook and this is the expected behavior.

A Facebook preview of a message regarding the og:image Open Graph meta tag which has "1 Critical Issue" in the middle.
A preview of a message regarding the og:image Open Graph meta tag in Facebook which has "1 Critical Issue" in the middle.

What are the Open Graph image size requirements?

The following Open Graph image size requirements are quoted directly from Facebook and this was current in February of 2023:

Requirements

  • The minimum allowed image dimension is 200 x 200 pixels.
  • The size of the image file must not exceed 8 MB.
  • Use images that are at least 1200 x 630 pixels for the best display on high resolution devices.
  • At the minimum, you should use images that are 600 x 315 pixels to display link page posts with larger images.

WordPress comes with it’s own image compression functionality however we can also use the TinyPNG service to compress images prior to uploading the media; TinyPNG is also available as a WordPress plugin.

Other options are available as well — see the article entitled 7 Best WordPress Image Compression Plugins Compared (2023) for several options along with comparisons.

Tutorial Conclusion

This instructional covered two issues that came about from an audit that I performed on my website.

Once this particular issue was addressed in the AIOSEO Pack Plugin for WordPress I reviewed two pages and discovered that an issue still existed on one of them.

Any SEO audit should not just verify that the og:image meta tag is present but also that the image is correctly sized — otherwise we’ll fix the problem, albeit not really.

If you enjoyed this post then I have other articles on SEO that may interest you as well.

Questions and comments are welcome.

Do you need to hire a WordPress SEO Consultant? If you answered “yes” to this question, please find a time that works for you on my calendar and we can discuss your project in more detail.

Frequently Asked Questions (FAQ)

What is the "metadata.metadataBase is not set for resolving social Open Graph or Twitter images" warning?

The “metadata.metadataBase is not set for resolving social open graph or twitter imageswarning pertains to an issue which happens in the next.js JavaScript library.

Find the direct link to the solution on GitHub.

Addendum regarding the og:image page source location.

The following page source image demonstrates that the og:image meta tag is missing in the All In One SEO Pro block.

Page source of ThosPFuller.com with pointers to the og:image Open Graph meta tag block.
The ThosPFuller.com page source including the og:image open graph meta tag missing AIOSEO Configuration.

Once the og:image has been set, we can review the updated page source, and the og:image meta tag will be set in the AIOSEO block, as indicated by the red pointers.

This step has been included here simply to demonstrate where this meta tag should be found.

Page source of ThosPFuller.com with pointers to the Open Graph meta tag block.
The og:image meta tags are present this this page source.
author avatar
ThosPFuller
I am a software engineer based in Northern Virginia (USA) and this website focuses on content engineering, content experiments, web development, search engine optimization and digital marketing ideas.

ThosPFuller

I am a software engineer based in Northern Virginia (USA) and this website focuses on content engineering, content experiments, web development, search engine optimization and digital marketing ideas.

Leave a Reply