The open graph protocol allows developers to leverage Facebook in new and exciting ways. One of the easiest ways to venture into the world of Open Graph is to add the open graph meta tags to your site.
Open graph meta tags allow you to control what content shows up when a page is shared on Facebook. We’ve all seen posts like these on Facebook. Ever wonder how you can control the content that displays. Well, the answer is Open Graph.
A few Of the Open Graph Tags that can be used are:
title: The title of your page, content, object, etc. as you would like for it to appear when displayed on Facebook.
name – the name of your site.
description – Perhaps the most important tag. This is the 1-2 sentence snippet that shows up in the post. Write this carefully as this can be the difference between getting clicks or not.
type – The type of content. Think of these as categories, hotel, blog, article, etc.
image – The URL for an image you want to represent your content. Images must be either PNG, JPEG, and GIF formats.
url – This will be the URL that will be associated with your content ie the link.