Table of Contents

About

Sharing a link will show on every Facebook post a card thanks to the Facebook social graph metadata added to each ComboStrap page.

Preview

You can check the generated card before posting with the sharing debugger.

Facebook Card


List of metadata

The following metadata's are used in the card:

  • for the og:title: the title if present otherwise h1, otherwise the page id.
  • for the og:description: the description
  • for the og:image: the image.
  • for the og:type: the page type
  • for the og:locale: the locale - if the locale cannot be derived, we set the default Facebook value (en_US).

If the page is of the article type, we add also the article metadata

Image

You can see the image used for Facebook in the metadata manager.

Facebook Opengraph Metadata

If the value is grayed, this is the default value.

If you set an image, the image must be at a minimum of 200px by 200px. The best format is 524×274 as this is the card dimension. 1)

Default Image

The default image is chosen via this algorithm:

Configuration

You can set the following configuration:

Name Description Default value
facebookDefautImage the default image if no image is found :logo-facebook.png

2)