Hi all customer,
In this article we’ll help you fix issue when sharing Article in WordPress via Facebook share.
The common issue is Facebook sharing wrong the image you want to display like this:
First you need to use debug tool of Facebook to check:
https://developers.facebook.com/tools/debug/og/object/ or https://developers.facebook.com/tools/debug/sharing/ (recommended)
You will see og:image is use an wrong image.
The solution here you can use one of plugin to fix this.
- Use SEO plugin like Yoast SEO to change OG image: https://wordpress.org/plugins/wordpress-seo/
- Use Graph plugin like this: https://wordpress.org/plugins/wonderm00ns-simple-facebook-open-graph-tags/
In this article we use Open Graph for Facebook, Google+ and Twitter Card Tags plugin. After install at the bottom of post (or custom posttype) you can easy change OG image to control sharing image:
Other functions of this plugin you can read in the document of it.
Hope this help and thanks for reading!