Home / Snippets / How to Enhance SEO with Facebook Open Graph Tags
How to Enhance SEO with Facebook Open Graph Tags cover

How to Enhance SEO with Facebook Open Graph Tags

296

2 years ago

0 comments

In this short snippet, you will learn how to enhance SEO with Facebook open graph tags. It's quite straightforward so let's get started.

Facebook Open Graph


Facebook Open Graph is a special tag that when present on a website, Facebook will be able to parse the data that are being shared to their platform better. The most important Facebook Open Graph Tags for SEO is below.
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
<meta property="og:url" content="">
<meta property="og:title" content="">
<meta property="og:description" content="">
<meta property="og:image" content="">
Do put this tag on top of your HTML head tag and fill in all of the contents. The final result should be as follows. In this case, it's for the PostSrc homepage Facebook Open Graph Tag.
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://postsrc.com/">
<meta property="og:title" content="PostSrc: Programming Tutorials, Code Snippets, Tools and Components">
<meta property="og:description" content="Learn web and mobile development, programming guides on Laravel, tutorials for VueJS, NuxtJs, Tailwind CSS, Flutter and more. Discover our online tools and web components.">
<meta property="og:image" content="https://postsrc.com/img/cover.jpg">

Test Facebook Open Graph


To test Facebook open graph you can make use of the FB Debugger which is their built-in tool for debugging and testing links that are shared to their platform.
PostSrc Open Graph

Do make sure to have a unique page title, description, and also image so that when Facebook parses it, it will look nice and looks interactive. Hope these short snippets help and cheers, have a good one.
notion avatar

Alaz

Week-end developer currently experimenting with web, mobile, and all things programming.

Topics:

Frontend

Resource

Average

Average

Support Us

If you like our tutorial, support us by being our Patreon or buy us some coffee ☕️

Welcome to PostSrc V3

PostSrc Dark Logo

You have to login to favorite this