Facebook Open Graph Tags
Open Graph tags are essential when you want to boost your social SEO. Adding Open Graph meta tags to the of your web page HTML will provide the crawler with structured info like a title, description, and thumbnail image for the content.
Actually, it inherits from these meta tags. The
og:title is the meta title,
og:description is the meta description.
Slim SEO supports the following Open Graph tags:
|Title: inherits from meta title.|
|Image: URL of the featured image. Only available for singular pages/posts.|
|Image width: width of the featured image.|
|Image height: width of the featured image.|
|Image alt text: alt text of the featured image.|
|Description: inherits from meta description.|
|URL: permalink of the singular posts/pages.|
|Locale: get from WordPress’s settings.|
|Site name: get from WordPress’s settings.|
|Article published time: get from post’s published time. Only available for singular pages/posts.|
|Article modified time: get from post’s modified time. Only available for singular pages/posts.|
|Article updated time: same as article modified time.|
|Article section: post category (the first one).|
|Article tags: post tags.|
How to change the image when sharing on Facebook?
By default, Slim SEO uses the featured image as the thumbnail when sharing a single post/page/term on Facebook.
However, if the featured image is not optimized for Facebook (for example, the size is not correct), then you might want to use another image. To do that, simply select another image in tab Social Settings of the Search Engine Optimization meta box, below the content:
The recommended size for image when sharing on Facebook is 1200×628 pixels.
Please note that if you set your homepage as a static page, then the plugin treats it like a normal page.