What You Need to Know About Open Graph Meta Tags for Total Facebook and Twitter Mastery

  • Share
What You Need to Know About Open Graph Meta Tags for Total Facebook and Twitter Mastery

Marketers create loads of content material. Yes, content material is king, however that king is powerless with out followers.

So, what’s the very first thing that comes to thoughts whenever you need to attain a broader viewers together with your superior new weblog publish?

Sharing on social media, after all. The huge audiences of web sites like Facebook and Twitter make them a number of the greatest sharing, however are you aware how to optimize that outreach potential?

Open graph meta tags have been designed to just do that. But what are they, why do they matter, and — most significantly — how do you employ them?

What Is Open Graph and Why Was It Created?

Facebook launched Open Graph in 2010 to promote integration between Facebook and different web sites by permitting posts to develop into wealthy objects with the identical performance as different Facebook objects.

Put merely, it helps optimize Facebook posts by offering extra management over how data travels from a third-party web site to Facebook when a web page is shared (or preferred, and so on.).

To make this doable, data is shipped through Open Graph meta tags within the <head> a part of the web site’s code.

head html for open graph meta tags

Now, different social media websites are also profiting from social meta tags.

Several different main platforms, together with Twitter and LinkedIn, acknowledge Open Graph tags. Twitter truly has its personal meta tags for Twitter Cards, but when Twitter robots can not discover any, Twitter makes use of Open Graph tags as a substitute.

Why Marketers Should Care About Open Graph

Social media websites are the key drivers of a lot of the net’s visitors. Consequently, the flexibility to harness the ability of social meta tags is a crucial ability for as we speak’s entrepreneurs.

Most importantly: open graph meta tags can have an enormous impression on conversions and click-through charges.

Have you ever shared a hyperlink on Facebook solely to discover that the thumbnail was lacking, or there was a very totally different image than you anticipated?

Knowing just a bit about Open Graph tags will help you sort out these issues and enhance your social media advertising and marketing.

Adding Open Graph tags to your web site received’t instantly have an effect on your on-page website positioning, however it’ll affect the efficiency of your hyperlinks on social media, so which means it’s value wanting into. Let’s check out crucial meta tags for Facebook and how to optimize them for higher sharing.

Understanding Facebook Open Graph Meta Tags

Facebook has a number of open graph meta tag sorts. Let’s cowl the different sorts, then I’ll cowl how to use them.

Facebook HTML Tags open graph meta tags guide


As you would possibly guess, that is the way you outline your content material’s title. It serves the same goal as the normal meta title tag in your code. In reality, if Facebook doesn’t discover the og:title tag in your web page, it makes use of the meta title as a substitute.

Keep in thoughts that the textual content proven on a Facebook feed is in daring and extraordinarily eye-catching. It should be compelling, similar to a very good publish title.

There is not any restrict on the variety of characters, nevertheless it’s greatest to keep between 60 and 90. If your title is longer than 100 characters, Facebook will truncate it to solely 88!


<meta property=”og:title” content material=”Your eye-catching title right here” />


This is the way you set the canonical URL for the web page you might be sharing. What this implies is that you simply outline one web page that each one your shares will go to. It’s helpful in case you occur to have multiple URL for the identical content material (for instance, utilizing parameters). Important word: URL supplied will not be proven on Facebook newsfeed, solely area is seen.


<meta property=”og:url” content material=”http://www.yourdomain.com” />


This is the way you describe the type of object you might be sharing: weblog publish, video, image, or no matter. The checklist to select from is lengthy. Here are some examples:

Web primarily based:





You can see the total checklist of sorts right here.

This tag is essential in case your web page has a “Like” button and represents a real-life object (like a guide or a film). It determines in case your content material will seem in a consumer’s curiosity part of her profile within the occasion she “Likes” it.

In most circumstances, you’ll use the “website” worth, since what you might be sharing is a hyperlink to an internet site. In reality, in case you don’t outline a kind, Facebook will learn it as “website” by default.


<meta property=”og:kind” content material=”web site” />


This meta knowledge descriptor may be very related to the meta description tag in HTML. This is the place you describe your content material, however as a substitute of it displaying on a search engine outcomes web page, it reveals beneath the hyperlink title on Facebook.

Unlike a daily meta description tag, it received’t have an effect on your website positioning. (So, don’t spend an excessive amount of time determining how to sneak in key phrases.) However, it’s a good suggestion to make it compelling since you need individuals to click on on it.

You should not restricted to a personality rely, nevertheless it’s greatest to use round 200 letters. In some circumstances, relying on a hyperlink/title/area, Facebook can show up to 300 characters, however I counsel treating something above 200 as one thing additional.


<meta property=”og:description” content material=”Your entertaining and descriptive copy right here, in case your meta description is nice, use it.” />


This is essentially the most attention-grabbing Open Graph tag for many entrepreneurs as a result of an image all the time helps content material stand out. This is how you make sure that a specific thumbnail will probably be proven when your web page is shared. It might be very useful for your conversion charges.

Make positive you set the og:picture you select, in any other case Facebook will present one thing silly like an undesirable advert banner scraped from the web page, or nothing in any respect (as beneath). We undoubtedly don’t need that!

FB no thumbnail open graph meta tags

It’s essential to keep in mind that in case your web page is static and you don’t use any kind of content material administration system (CMS) (like WordPress), you want to change the og:picture manually for every of your pages.

If your web site is managed with a CMS and you put in the related plugin, the og:picture tags are assigned routinely for every web page. Look for the checklist of plugins additional down.

The most often advisable decision for an OG picture is 1200 pixels x 627 pixels (1.91/1 ratio). At this measurement, your thumbnail will probably be massive and stand out from the gang. Just don’t exceed the 5MB measurement restrict.

FB my full open graph meta tag example

If you employ a picture that’s smaller than 400 pixels x 209 pixels, it’ll render as a a lot smaller thumbnail. It’s nowhere almost as eye-catching.

FB little thumbnail for open graph meta tags

Keep in thoughts that the image you employ as an Open Graph picture might be totally different from what you will have in your web page.

Why wouldn’t you leverage that chance to stand out much more?

For instance, in case your title is nice, however the image you might be utilizing will not be very thrilling (not an infographic or a handsome individual, and so on.), think about using a picture with a very good line or two of copy as a substitute (see instance beneath).

One factor you want to keep in mind in case you do that: lace your textual content, or essentially the most important a part of it, in the midst of the picture. This issues as a result of Facebook trims the perimeters of thumbnails.

FB thumbnail centred with text open graph meta tag


<meta property=”og:picture” content material=”http://www.yourdomain.com/image-name.jpg” />

Advanced Facebook Open Graph Tags

The Open Graph tags above are those you actually need to know (og:description not a lot, however it’s helpful). There are different, extra superior, tags you should use to present much more in-depth specs.

  • og:locale – defines the language, American English is the default
  • og:site_name – if the web page (object) you might be sharing is a component of a bigger community
  • og:audio or og:video – to add extra audio or video recordsdata to your object
  • fb:app_id – for linking to a Facebook software (e.g., FB Comments) with the thing

Check Your Open Graph Tags

To make life simpler, Facebook has created a instrument referred to as Sharing Debugger. It has two very useful functionalities.

First, whenever you kind within the hyperlink you need to examine, it returns any errors and strategies for OG tags, if there are any. You can also examine what the og:picture appears to be like like, what your description is, and so on.

Second, it clears the Facebook cache. Imagine this: you publish a hyperlink to Facebook, however then you definately see a mistake within the thumbnail, so that you return to your website and regulate the OG tags, and you publish it once more on Facebook.

Probably, nothing will occur. The thumbnail will keep the identical. This is due to the cache. The Facebook Sharing Debugger will refresh the cache in your hyperlinks after any changes, so keep in mind to use it every time.

Facebook Object Debugger open graph meta tags

Open Graph Meta Tags for Twitter: Twitter Cards

Like Facebook’s Open Graph tags, Twitter Cards allow you to stand out from the gang of tweets. They permit some extra content material to be generated out of your 140-character tweet.

This doesn’t present up on individuals’s feeds routinely, nevertheless it provides a bit “View summary” button beneath the tweet.

Evolero 2 twitter open graph meta tag examples

When you click on it:

Twitter Card Tags open graph meta tags example
Twitter Card Tags open graph meta tags example

It’s a tempting factor to click on and offers a useful abstract of the shared web page—the Twitter Card. Surprisingly, not many websites make the most of these tags. This is an enormous alternative to make your tweets stand out in crowded Twitter feeds.

The greatest approach to get them is to set up one of many WordPress plugins. WordPress website positioning by Yoast, talked about above, does the job. If that’s not an choice, ask your net developer and give him the ready-to-implement Twitter Card tags. Here’s the way you’ll make them.


This required tag works in the same approach to og:kind. It describes the kind of content material you might be sharing. There are 7 choices to select from: abstract, photograph, video, product, app, gallery, and “large version” abstract.

Depending on the kind of content material you select, the hyperlink on the backside of your tweet adjustments. You can get “View summary” for summaries, “View photo” for photographs, and so on. If this tag will not be set, Twitter reads your hyperlink as a “Summary” by default.


<meta title=”twitter:card” content material=”abstract” />


This principally does the identical factor as its OG counterpart. You specify the title for your article that can present up in daring. It’s sensible to keep away from repeating the identical textual content you will have in your tweet. Make the a lot of the area supplied and let the 2 items of copy play on one another to reinforce the message. Use up to 70 characters.


<meta title=”twitter:title” content material=”Your title right here” />


Use this tag to write a descriptive lead to the web page you might be sharing. As with Open Graph tags, don’t concentrate on key phrases as a result of they received’t matter for your website positioning. Create compelling copy that properly enhances your tweet and the title. Twitter limits this half to 200 characters.


<meta title=”twitter:description” content material=”Your 200-character description right here” />


This units the canonical URL for the content material you might be sharing. (For extra data, overview the outline for the equal Facebook Open Graph tag above.)


<meta title=”twitter:url” content material=”http://www.yourdomain.com” />


Yes, you guessed it. This is the way you set the image to go together with your tweet. Twitter permits two choices, a card with a smaller or a bigger image.

You resolve which one you need within the kind tag. If you go for the big choice, be sure it has a decision of at the very least 280x150px and that the file measurement will not be greater than 1MB. You can think about using the identical trick as with the Facebook thumbnail: add some textual content to the picture to increase the message.


<meta title=”twitter:picture” content material=”http://www.yourdomain.com /image-name.jpg” />

Request Approval from Twitter

Keep in thoughts that, earlier than you’ll be able to totally profit from Twitter Cards, you want to request approval for your web page from Twitter. Fortunately, this doesn’t take a lot time and might be accomplished simply utilizing their Card Validator. Once you get approval, Card Validator serves precisely the identical goal because the Facebook Sharing Debugger, permitting you to examine your hyperlinks earlier than you commit.

Twitter Card Plugins

Just like with Facebook, there are many plugins obtainable for implementing Twitter Cards. Here are a couple of:

How to Implement Open Graph Meta Tags

How do you implement OG tags? Basically, they belong to the <head> a part of your web page’s HTML. If you don’t handle the code, you’ll want to ask your net developer for assist. You can put together the entire package deal your self utilizing the ideas above to save his useful time.

If you might be utilizing WordPress, simply set up one of many plugins that neatly implements the code for you. I like to use WordPress website positioning by Yoast, however there’s an official Facebook Plugin and others to select from.

Wordpress SEO by Yoast for open graph meta tags

Here are different OG plugins/extensions/add-ons for:

Open Graph Meta Tags Conclusion

The last code for each Facebook and Twitter ought to look more-or-less like this:

final code screen open graph meta tags conclusion

It might sound a bit complicated, however fortunately there are a number of instruments that make the method simpler — you don’t want to know the way to code.

It’s shocking how few individuals optimize these tags. It’s value doing as a result of it helps you stand out and draw extra clicks and views, and it will probably even assist enhance your website positioning —all issues that lead to extra revenue.

Have you carried out open graph meta tags? How has it impacted your website?

Consulting with Neil Patel

See How My Agency Can Drive Massive Amounts of Traffic to Your Website

  • website positioning – unlock huge quantities of website positioning visitors. See actual outcomes.
  • Content Marketing – our crew creates epic content material that can get shared, get hyperlinks, and entice visitors.
  • Paid Media – efficient paid methods with clear ROI.

Book a Call

  • Share