Skip to content Skip to navigation

Manage Facebook Open Graph and X (Twitter) Cards metas

Setup Open Graph and X (Twitter) Cards globally

Go to SEO, Social Networks, and click the iOS toggle to enable this feature (if it’s not the case).

In Facebook tab, check Enable OG data.

Social Networks > Facebook tab - SEOPress Free
Social Networks > Facebook tab – SEOPress Free

You can also set a global default image (in case of one of your post, page, post type, doesn’t have one) but also a specific default one by custom post type for more granularity.

Do the same for X (Twitter) and don’t forget to click Save changes.

Social Networks > X tab - SEOPress Free
Social Networks > X tab – SEOPress Free

Manage Facebook OG and X (Twitter) Cards individually

Edit a post, page or post type.

In SEO metabox, Social tab, you can define:

  • a Facebook Title (post title if empty)
  • a Facebook Description (excerpt if empty or begining of your content)
  • a Facebook Thumbnail (post thumbnail if empty)
  • a X (Twitter) Title (post title if empty)
  • a X (Twitter) Description (excerpt if empty or begining of your content)
  • a X (Twitter) Thumbnail (post thumbnail if empty)

Don’t forget to save your post.

About the og:image

We generate the og:image meta following this order:

  • Custom OG Image from SEO metabox
  • Post thumbnail / Product thumbnail (Featured image)
  • Global OG Image set in SEO > Social > Open Graph
  • Site icon from the Customizer

Common issues

My Facebook thumbnail doesn’t work!

  • make sure your image is accessible for robots (check your robots.txt file and your firewall/security plugins)
  • make sure your image size is large enough: 200×200 pixels
  • make sure you use a correct image format: JPG, GIF, PNG, WebP
  • make sure your image weight does not exceed the allowed limit (8MB max)
  • make sure to use a different name for your image file if you have updated it, or clear the cache using the official FB debug tool (see below)

My X Thumbnail (ex-Twitter) doesn’t work!

  • make sure your image is accessible for robots (check your robots.txt file and your firewall/security plugins)
  • make sure your image size is large enough: 300×157 pixels
  • make sure you use a correct image format: JPG, GIF, PNG, WebP
  • make sure your image weight does not exceed the allowed limit (5MB max)
  • make sure to use a different name for your image file if you have updated it from SEOPress, or clear the cache using the official X debug tool (see below)

My X Card doesn’t work!

Check your URL with the official X debug tool.

Check your URL with the official Facebook debugger tool.