Open Graph Protocol: The Definitive Guide

Open Graph Protocol: The Definitive Guide

1.Introduction:

OPG (Open graph protocol) is a protocol which is used to merge a website into the social graph. Open Graph Protocol is a set of instructions intended for highlighting the title, description, URL and the image of a website you are sharing via Facebook.

The main purpose of OGP is to integrate the highlighted content and show it on Facebook, as well as to control its appearance, that is, how the highlighted content will be shown.

Basic Metadata:

The four required properties for every page are:

og: title – The title of your object as it should appear within the graph, e.g., “The Rock”.

og: type – The type of your object, e.g., “video.movie”. Depending on the type you specify, other properties may also be required.

og: image – An image URL which should represent your object within the graph.

og: URL – The canonical URL of your object that will be used as its permanent ID in the graph, e.g., “http://www.imdb.com/title/tt0117500/”.

Integrate OGP into a webpage by adding meta element into its . Implementing OGP is as simple as adding some of these meta tags inside your HTML section.

Also in WordPress there are plugins in which you can implement OG (Open Graph) very easily.

Once you have added the plugin, follow the steps below:

1.Go to plugin setting (SEO> Social)

2.Click on the checkbox ’add Open Graph Meta Data’

3.Click on ‘Add Facebook Admin Button’

4.Click on ‘Save settings’ button.

Meta tags aren’t just for search engines. Social media sites are also leveraging them. Just like how you would optimize your meta tags for Google rankings and click-through rates, you need to do the same for Facebook and Twitter.

Leave a Reply

Your email address will not be published. Required fields are marked *