Facebook Thumb Fixer

Description

This plug-in is for those who have the problem where sharing a post on Facebook shows the wrong (or no) thumbnail image.

It works by making sure the thumbnail is derived from the featured image of your post. If your post doesn’t have a featured image then it will use a fall-back image that you can specify.

The plug-in inserts the open graph meta properties which Facebook and other social services look for when someone shares your page. These properties specific information about the page and of course the image you specify.

Uninstall

Deactivate the plugin, delete if desired.

Official Web Site (and support)

Facebook Thumb Fixer Support at the official WordPress repository.

How to set a fall-back image

Go to Settings -> General and scroll down until you find ‘Default Facebook Thumb’. Choose or upload a fall-back image. Make sure it’s at least 1200×630 or 600×315.

How to set a Facebook App ID

If you have a Facebook App, you can get the App ID from your developer dashboard.

Specify your Facebook App ID Settings -> General and scroll down until you find ‘Facebook App ID’.

How to set an object type

Posts and pages

On each page or post you edit there is an ‘Open Graph Object Type’ meta box. Simply make a section from there to specify what Object Type the page or post is. Example: If the it’s an article, then choose ‘article’. If it’s a product, choose ‘product’. To help you decide what Object Type to choose, go here to learn the differences between them all.

Note: If no selection is made for posts or pages then the Object Type will be ‘article’, which in most cases is fine.

Home page

To specify what Object Type your homepage is, go to Settings -> General, scroll down until you find ‘Homepage Object Type’ and make a selection. After you’ve specified a Default Facebook Thumb, Homepage Object Type and saved the options, you’ll then be able to view an approximate preview of your homepage when shared on Facebook.

Note: If no selection is made for the home page then the Object Type will default to ‘webpage’, which in most cases is probably what you want.

Known issues

Divi theme is not houring the WordPress strip_shortcodes() function, and so if you have a shortcode early on in a post you may see unexpected results when sharing on social media.

Installation

Install, activate, done.

FAQ

Installation Instructions

Install, activate, done.

Reviews

Great plugin and support

I use this plugin for years for a WP site. This plugin works great, is well maintained and also offers a great support. Now the plugin is also available in german. Thanks!

Works

The debug-option helped me – it’s a link to Facebook’s “debug Sharing tool” https://developers.facebook.com/tools/debug/sharing/

Keywords: WordPress facebook Shared link thumbnail images problem

Conflicts with my theme (XTreme Builder)

Conflicts with my theme (XTreme Builder). When this plugin is active, I cannot edit my posts AT ALL – neither in the WordPress editor nor in the XTreme Editor. Had to de-activate the plugin for things to work again.

Read all 40 reviews

Contributors & Developers

“Facebook Thumb Fixer” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.7.5

Added new object types: business.business
Added new object types: place
Removed incorrect object type: object
Fixed malformed anchor in readme
Fixed typos

1.7.4

Added option to disable meta tags for specific posts and pages.
Fixed issue related to shortcodes in the content.
Fixed incorrect text domain.

1.7.3

POT file renamed.

1.7.2

Fixed incorrect text domain.

1.7.1

Employed more reliable method for determining image dimensions.
Added debug button for homepage testing.
Added missing translation strings.

1.7

Fixed Facebook scraping issue caused by double quotes in excerpts.
Pages now use truncated main content when excerpt does not exist.
Added media galley browsing button for when choosing a default image.
Added plugin activation message prompting users to set default thumbnail image.
Added translation support.

1.6

Added Facebook App ID field.
Added a convenient FB Debug button for easier troubleshooting.
Preview of homepage for when shared on Facebook.
Fixed some errors.
Updated help topics.

1.5.1

Fixed Undefined variables issue.
Confirmed WP 4.2.3 compatibility.
Updated support link.

1.5

Added Facebook preview.

1.4.9

Updated help topics with answers to some common questions.

1.4.8

Suppressed unnecessary warning when fall-back image is missing.

1.4.7

Fixed extremely rare conflict with other plug-ins. No need to update unless this plug-in is causing a conflict with another.

1.4.6

Non-critical updates:
Fixed incorrect reference in help/tips of recommended Facebook image sizes.
Added help topic and suggested fix for those experiencing rare issue of image dimensions not showing in plug-in.

1.4.5

Full sized default thumbnail image preview.
Updated help topics and tips to reflect latest Facebook recommendations.
Presentation tweaks.

1.4.4

Prevented open graph from outputting on BuddyPress members pages to ‘fix’ malformed HTML issue.

1.4.3

Updated version compatibility for WordPress 4.0.

1.4.2

Updated documentation page.

1.4.1

Added Google+ full bleed image support.

1.4

Added the ability to specify a unique Object Type for each post, page and the home page.
Updated documentation.

1.3.5

Replaced strip_tags with preferable wp_kses function.
HTML is now stripped from excerpts.
Fixed issue where title sometimes wasn’t being output into og:title on posts.

1.3.4

‘Tested up to’ compatibility with WordPress 3.8.
Wordpress 3.8 notification UI.
Updated documentation to reflect current Facebook requirements, removed document redundancy.
Typo corrections.

1.3.3

  • Minor update: Added strip_tags in more places to prevent potential conflict issue.

1.3.2

  • Changed function name to something less generic to avoid potential conflict with other plugins.

1.3.1

  • Updated recommended og:image dimensions.

1.3

  • Included new open graph properties for og:description, og:site_name and og:type.
  • Added visual indication of the field on the settings page.
  • Fixed width on preview image (for when someone accidentally uses a massive image).
  • Updated help guide.

1.2.3

  • Changed comment output in head to ‘Open Graph’ instead of ‘Facebook Open Graph’.
  • Clarification on how the plugin works.

1.2.2

  • Added og:url meta property (according to Facebook debugger, now required).

1.2.1

  • Updated documentation page, suggesting default thumbnail to be 155×155 (because thumbs are that size on Facebook brand pages).

1.2

  • Minor edits, nothing important.

1.1

  • Updated tags.
  • Fixed typos.

1.0

  • Release candidate finished.
  • Added support information under admin Settings -> Facebook Thumb Fixer
  • Updated support information.

0.9

  • Swapped out deprecated WordPress variables.