Facebook OG meta tags

In order to have a website URL showing properly in the Facebook Open Graph, some extra meta tags are necessary, with the page title, the page type, the page URL, the image URL, the page description, the site name, the article publication and modification dates, the article section, the article tag, and the Facebook administrator ID.


Facebook OG meta tags

In order to have a website URL showing properly in the Facebook Open Graph, some extra meta tags are necessary, with the page title, the page type, the page URL, the image URL, the page description, the site name, the article publication and modification dates, the article section, the article tag, and the Facebook administrator ID.

Open Graph is in general a very complete set of meta data that allows the creation of a complete rich card when sharing the URL.

Open Graph meta tags SEO

The following meta tags have to be used, with below template that can be copied and pasted.

On top of allowing a proper display when sharing the URL, it will also improve the general page SEO.

This is for Facebook OG Open Graph only, and the meta tag in HTML should be pasted in the head section of the code:

Facebook Open Graph meta tags

In order to have the whole Facebook website OG specs, including the Twitter card meta tags and the Facebook open graph meta tags, the full code below can be used.

This will cover all social medias meta data HTML cards, and allow a proper sharing of your URLs on all of them:

Open graph protocol

Once the Facebook metadata has been implemented on the website, sharing them will produce the look below, as the title, image and description will be properly retrieved by Facebook.

Facebook OG debugger

An online application for developers, the Open Graph validator, is available on Facebook website, and allows devlopers to check by themselves if the rich cards have meta tags been properly implemented on their websites.

Simply open the webpage, paste a URL in which the Facebook OG rich cards should appear, and see the results, or the potential errors in case of tags wrongly implemented, as explained by the Facebook Open Graph debugger.

Facebook OG debugger

Facebook OG image size

An image posted in a Facebook post must be at least 200 pixels wide by 200 pixels large, or 200x200px, but it is recommended to use larger images, up to 1200x630px.

Respect this minimum requirements to be sure that your images will always appear properly on the Facebook posts and will make them have a good look.

Where Can I FLY ? - Home | Facebook
International SAP and Web consulting - Home | Facebook
Help Smartphone - Home Facebook
Travel Comparator - home Facebook
Facebook developer platform - Facebook developers
Kiev beach club and Kiev nightlight in summer - Where Can I FLY?

Further readings

Learn SEO Basics: Enroll Today!

Boost your website's visibility and traffic by mastering the fundamentals of SEO with our easy-to-follow Basics course.

Start Learning SEO

Boost your website's visibility and traffic by mastering the fundamentals of SEO with our easy-to-follow Basics course.

In order to optimize your meta tags for rich cards display and other social media sharing puroposes, have a look at these great websites full of useful information:

The Web Developer's SEO Cheat Sheet 2.0
18 Meta Tags Every Webpage Should Have in 2014
The Open Graph Protocol
Snippet - Google+ Platform
Pinterest Rich Pins for Business
WooCommerce - Free Wordpress toolkit that adds product markup

Meta property OG Facebook

The Facebook Open Graph image dimensions, for the Facebook meta image size and also the Facebook Open Graph image size, are 200 pixels by 200 pixels. It is recommended as a minimum, and the maximum size should not be more than 1200 by 630 pixels.

What is OG tag? OG tag, also called Facebook OG tag, or Facebook Open Graph tag, are information present in the website source code, but hidden from the website visitors, that are used by Facebook or other social networks when sharing a page on social medias, to show an image, a description, and other information that will be used to show details in a nice way about the shared link.

The Facebook meta are the following:

- Facebook OG site name is the name of the webpage,

- Facebook OG description contains the webpage short text description,

- OG image Facebook contains the link to the image of the link,

- Facebook OG type defines the type of content shared, for example an article or a book,

- Facebook OG URL is the unique Internet address of the link, also called URL, Uniform resource location,

- Facebook OG image size is minimum 200x200px, maximum 1200x630px.

OG tag generator Open Graph Generator, Advanced meta tags generator tool
Twitter Open Graph tester Card Validator - Twitter cards

Frequently Asked Questions

What are the best practices for implementing Facebook Open Graph (OG) meta tags to ensure shared content looks appealing on Facebook?
Implementing Facebook OG meta tags (`og:title`, `og:type`, `og:image`, `og:url`, `og:description`) correctly involves choosing a compelling image, a descriptive and catchy title, an accurate type (article, video), and a concise description. These tags should be placed in the `` section of the HTML, ensuring that when content is shared on Facebook, it is displayed with the intended image, title, and description, thus increasing its attractiveness and potential reach.

Yoann Bierling
About the author - Yoann Bierling
Yoann Bierling is a Web Publishing & Digital Consulting professional, making a global impact through expertise and innovation in technologies. Passionate about empowering individuals and organizations to thrive in the digital age, he is driven to deliver exceptional results and drive growth through educational content creation.

Learn SEO Basics: Enroll Today!

Boost your website's visibility and traffic by mastering the fundamentals of SEO with our easy-to-follow Basics course.

Start Learning SEO

Boost your website's visibility and traffic by mastering the fundamentals of SEO with our easy-to-follow Basics course.



Comments (1)

 2019-02-01 -  Jarek
Bardzo przydatny artykuł tylko szkoda że tak mało osób z niego korzysta.

Leave a comment