Hello. I don’t know if this issue is related to JetPack or to Facebook itself.
When sharing a post, all works as expected. When sharing a page, most of the time “Facebook box” shows only the url – no description and no thumbnail (even if page has images).
I would like to have a “share” button in my homepage that would send to the time line my image and website’s slogan as the description. Not sure if this is possible.
I tried to fix this by adding
<meta content="http://www.myurl.com/wp-content/uploads/2013/xx/myimage.jpg" property="og:image">to my header.php in my theme, but it did not work. I also tried adding an extra function (as instructed here – http://www.wpbeginner.com/wp-themes/how-to-avoid-no-thumbnail-issue-while-sharing-post-on-facebook/) but no luck.
I found many complains from WP users in the Internet, but no working solution. Let me know if this is a lost cause. Thanks.
If you have activated Jetpack’s sharing module, Open Graph meta tags should be automatically added to your posts and pages, so you do not need to add extra tags manually.
You can also use other plugins like WordPress SEO by Yoast, that will give you more control over the Open Graph meta tags.
However, once you have made changes to your site, Facebook might still use a cached version of your Page, instead of using the newly created Open Graph Tags. If that’s the case, you can clear the page’s cache by entering its URL here:
Thank you for a so fast answer, Jeremy Herve.
I see JetPack’s sharing module added some Open Graph meta tags, but it seems “image” was not one of them for static pages. To be more exact, when sharing a post everything works (should my post’s image not big enough, the extra added op:image line force my logo as the thumbnail for that post in Facebook’s time line).
I knew about the debug tool, but I don’t know how to use it to clear Facebook’s cache. Here you can see Fecebook’s debugg tool have my url (home page – static) working right: link.
I just installed the SEO by Yoast plugin (quite complete plugin for SEO, thanks!), but even after setting some of it the problem still remains – I disabled it until I can fill all settings.
When I share in my time line my domain or my website true url, I get different results. I know I’m missing something here.
I see JetPack’s sharing module added some Open Graph meta tags, but it seems “image” was not one of them for static pages.
Could you try adding a Featured Image for each one of these pages? Once you have done, the Image meta tag should appear.
I knew about the debug tool, but I don’t know how to use it to clear Facebook’s cache.
As soon as you enter the URL in the Debug tool, Facebook clears the cache for that URL.
When I share in my time line my domain or my website true url, I get different results.
I’m not sure what you mean by “true URL”. Here is what I can see when sharing your home page URL on Facebook:
Wow.. no one beats an engineer when it comes save the day. Thanks to you I understood what was wrong. Basically is was an incompatibility between how the theme I’m using and Facebook plugin work with the featured image.
The theme uses a custom field for its slider, but that gets overruled by the featured image. So I can’t add a featured image to all pages. If I use the slider images as featured images, Facebook plugin won’t take them because of their size.
My manually added extra tag is a workaround, even when there is a featured image Facebook plugin lets me choose which miniature to use.
Also, to understand how the Facebook debugging tool works was vital.
Thank you very much Happiness Engineer, from the Mechanical Engineer. 🙂
PS: “happiness engineer”… why I didn’t think of that title myself. ^^
- The topic ‘Facebook "share" feature’ is closed to new replies.