Open (OG) Graph Protocol

Have you ever posted a link on Facebook and the title or description did not really match the subject of the link? Or the image that Facebook used was of an ad, or something else that did not relate to the subject of the page?

There is something that can be done about that. And it usually works, if you do it right. It uses a feature that Facebook and several other social media platforms recognize, called the Open Graph Protocol. It requires special information to be placed in the Meta Data of the page.

The OG image for this page is a test image, to show what Facebook will pull into a post or a comment. Here is a thumbnail of that image, and you can click on it to see the actual image.

Below are examples of this test OG image, and the OG image we’re currently using for the rest of this website, in actual Facebook posts. Usually, if you make a 1200 by 630 pixel image, and include the proper Meta Data, you will see the whole image on a post, or a square cropped image on a comment. OG images on mobile devices may be different.

We will usually do at least one set of OG information for the site that will be repeated for each page. We might want to do more if you will often be posting a a link to page other than your home page, and different information would be better. You can find much more information about the Open Graph Protocol here.

 

Printed from http://jwebs.bz — Open Graph (OG) Protocol.