WordPress.org

Ready to get started?Download WordPress

Forums

Jetpack by WordPress.com
[resolved] [closed] Publicize sends wrong image to Facebook (55 posts)

  1. ZoliErdos
    Member
    Posted 1 year ago #

    For some time now (don't know when it actually started), JetPack no longer sends the correct featured image (or any image from the post) to Facebook.
    Here are two examples:

    https://www.facebook.com/CloudAve
    https://www.facebook.com/EnterpriseIrregulars

    All those posts that show a salesforce cloud are incorrectly displayed: the image does not come from the post, but from a side widget that's displayed on the original blog. Note: all the posts have a proper image in the source, it just did not get sent.
    Yet this is not a consistent behavior, as the links above show posts that display the correct iamge.

    http://wordpress.org/extend/plugins/jetpack/

  2. Richard Archambault
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    Hi there,

    Publicize automatically selects an image to associate with your post on Facebook, and follows these steps:

    1) If you’ve selected a featured Image, it will be used on FB
    2) If you included a slideshow into your post, we’ll pick an image from there
    3) If you don’t have a slideshow, we’ll look for a gallery
    4) We will then look for other images attached to your post
    5) If you use an image that’s not hosted on your site, we’ll use it
    6) Finally, if you didn’t use any of these images, Publicize will fall back to your Gravatar Profile image.

    Can you point me a couple of FB posts that you believe aren't using the right image? I'll take a look to see if I can find out why for you.

  3. ZoliErdos
    Member
    Posted 1 year ago #

    Hi Richard,

    Thanks for your response. Here are a few examples:

    https://www.facebook.com/CloudAve/posts/508033295901139
    original at
    http://www.cloudave.com/27528/thrive-for-precision-not-accuracy/

    https://www.facebook.com/CloudAve/posts/143825695790512
    original:
    http://www.cloudave.com/27398/how-the-bell-system-missed-the-internet-1/

    https://www.facebook.com/EnterpriseIrregulars/posts/239936306150267
    original:
    http://www.enterpriseirregulars.com/60508/cloud-to-enterprise-resistance-is-futile/

    All the originals have featured images. The "salesforce cloud" logo that got picked up at Facebook does not come from within the post, but from a side widget the blogs run ("Sponsored posts" on the right side).

    I've only noticed this behavior a few weeks ago, until then everything ran smoothly. And even now it's not consistent, a few (unfortunately very few) posts show up with the correct image, and I can't tell what is different in those posts ... Pls. let me know if you need admin access to WP.

    Thanks a lot,
    Zoli

  4. ZoliErdos
    Member
    Posted 1 year ago #

    Another it of info: the trouble started on March 19th. If you scroll down here:
    https://www.facebook.com/EnterpriseIrregulars and
    https://www.facebook.com/CloudAve
    you'll see that until March 18th the proper images got picked up.

    Thanks,
    Zoli

  5. Richard Archambault
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    Hi,

    Facebook changed what they do, and they now use Open Graph meta tags, even for Publicize. Your site uses the WordPress SEO plugin, so Jetpack doesn't output the OG meta tags. You shoud take a look at your WordPress SEO settings to see if you can output the right meta tags with it. Hope that helps!

  6. ZoliErdos
    Member
    Posted 1 year ago #

    Richard,

    Thanks, I did not know that. But there's something I don't undertand. I disabled auto-publishing, and am using the share buttons at the bottom of each post. Those buttons are also generated by JetPack, yet psoting this way finds the proper images... isn't that strange?

    Thx

  7. ewp007
    Member
    Posted 1 year ago #

    I have the same issue that also changed around the same time in late March. It worked perfectly for months pulling image from post and if no image it would pull avatar. Now it pulls random image from right navigation? I also use SEO plug but have no clue what Richard is talking about "so Jetpack doesn't output the OG meta tags." Sorry

    I also find that Publicize also comes unlinked from Facebook sometimes?

    https://www.facebook.com/SanElijoLife
    http://sanelijolife.com/

  8. ewp007
    Member
    Posted 1 year ago #

    I had to do it manual recently so you would need to study last week etc.
    https://www.facebook.com/SanElijoLife

  9. Richard Archambault
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    Hi ewp007, I looked at your site, and as suspected, you use the WordPress SEO plugin. Have a look at it's settings, under "Social", and click "Add OpenGraph meta data", that should fix it for you.

  10. KVEMORY
    Member
    Posted 1 year ago #

    I don't have the WordPress SEO plugin, and I'm seeing the same behavior.

    I am, however, using 3.6b2, so I haven't been too mad about it.

  11. electrasteph
    Member
    Posted 1 year ago #

    I am having the similar difficulties - my post images aren't defaulting to my gravatar when I don't have an image available - they are defaulting to a google plus image instead. You can see it here:

    https://www.facebook.com/electrasteph/posts/10151371795331695

    I have a gravatar image set up and it should show that as a default, but isn't.

    I'm not using the SEO plug in, and my word press is up-to-date, as is my Jetpack plug in.

  12. alexdbd
    Member
    Posted 1 year ago #

    I'm having a similar problem on my blog http://alex.clst.org/dbd, but it has been happening ever since I started using Jetpack in early February. What gets displayed as the image appears to be a activity indicator, I have not the slightest clue where it is even getting that unless perhaps it is what the Gravatar system is returning when the avatar lookup possibly hangs or something (see indicator for hovercard loading to notice where I'm getting that hypothesis). A screenshot showing this is at http://alex.clst.org/machelp/fbjetpackpub.jpg. I think a good way to bypass this problem would be for an update to Jetpack to bring us a choice of which image source to prioritize first from that list Richard has from a month ago. That way we can all just force it to Gravatar avatars, or even a custom image we provide in the Publicize settings.

  13. alexdbd
    Member
    Posted 1 year ago #

    I've just worked around any failings of Jetpack's Facebook Open Graph metadata by manually replacing Jetpack's auto generated og tags with ones I included in the theme itself (as my site uses a custom theme I maintain this works well, but I realize some of you may not be as lucky to have access to modifying the theme/knowing PHP). Here is what I did in step-by-step instructions:

    1. Add remove_action('wp_head','jetpack_og_tags'); to your theme's functions.php file to disable Jetpack from generating the header metadata that is coming up with the wrong image. This plugin may work, but I always prefer to manage the code myself if at all possible: https://github.com/sgthemes/Remove-Jetpack-Open-Graph-Tags
    2. I followed the code method of this page, but the plugin may work just as well: http://www.wpbeginner.com/wp-themes/how-to-add-facebook-open-graph-meta-data-in-wordpress-themes/
    3. If you use the code method and don't really want any default image then make a blank/transparent 100x100 px png to use. I used a version of my site's favicon, but you can easily upload your Gravatar manually to use too.

  14. Richard Archambault
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    Hi Electrasteph,

    Are you still have issues? The link you provided doesn't work for me. If you still have difficulties with this, please start a new thread and I'll take a look.

    Alex: Thanks for your detailed steps! As for your suggestion, I've filed a Trac ticket for it, here: http://plugins.trac.wordpress.org/ticket/1725

    You can add yourself to it or modify it if you'd like!

  15. KVEMORY
    Member
    Posted 1 year ago #

    In my case the images it pulls by mistake were from a Widget — e.g. "Popular Posts" thumbnails get snagged by mistake. I disabled any widget that shows an image as an interim solution.

  16. Richard Archambault
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    Hi KVEMORY,

    Could I have a link to a page on your site, and could you turn that Widget back on, so that I can have a look? Thanks.

  17. KVEMORY
    Member
    Posted 1 year ago #

    Here's an example:

    http://kvet.ch/post/remembering-grampa/

    I have the Popular Posts active and set to Grid, and expect a post like that upon create with Promote set to grab an image from the grid of popular posts, in this case, something from Arrested Westeros :)

    (If you suspect another add-on is the Root Cause, I can disable my pull quotes and footnotes for you, but I'm loathe to disable my caching and S3 media services.)

  18. Richard Archambault
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    Hi! So I ran that page through the Facebook Debugger:

    https://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fkvet.ch%2Fpost%2Fremembering-grampa%2F

    and it shows the right image being detected (http://media.kvet.ch/wp-content/uploads/2013/05/me-and-grampa.jpg). I also tried to share the post on FB and it showed the right image as well (I cancelled my post by the way, in case you're wondering). Lastly, I looked at the source of the post to make sure that there was only one og:image meta tag, and as suspected, there was only one. So, it looks like it works right now!

  19. KVEMORY
    Member
    Posted 1 year ago #

    Delightful news; once I have something interesting to say I'll test it out. Thanks for the legwork — I've been skittish to try after the update to 3.6b3 this week.

  20. Richard Archambault
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    Pleasure! If you have other issues, I'd suggest starting a new thread and linking to this one, since you don't seem to be using the SEO plugin I mentioned, so it looks like it was a different issue.

  21. leonardogsouza
    Member
    Posted 1 year ago #

    I'm having the same problem, but not with all posts. Over the last 5, 3 had the wrong image (it used my site logo, don't know why). How can I fix it?

  22. Richard Archambault
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    Hi Loenardogsouza,

    Without links to your site and the problem posts, I can't tell you what the issue is. I suggest you start a new thread for your issue and include as much detail as possible. Thanks!

  23. leonardogsouza
    Member
    Posted 1 year ago #

    Hi Richard, thanks for your reply.
    Yesterday I deleted all the wrong posts and added manually. Next time the error happens again I'll be back here. thanks!

  24. leonardogsouza
    Member
    Posted 1 year ago #

    Richard, it happened again.
    Yesterday I left two posts scheduled to go online today and the Thumbnail that was sent to Facebook were my website logo.

    You can see it here both examples:

    http://www.zunkabitz.com/planeta-terra/asteroide-1998-qe2-ira-passar-proximo-a-terra-em-duas-semanas/
    https://www.facebook.com/permalink.php?story_fbid=481509308584462&id=478841085517951

    http://www.zunkabitz.com/planeta-terra/cientistas-norte-americanos-clonam-embrioes-humanos/
    https://www.facebook.com/permalink.php?story_fbid=481442631924463&id=478841085517951

    I'm sorry that it is in Portuguese, so, if you need help with something, just let me know please.

    Thank you!

  25. Jason Griffiths
    Member
    Posted 1 year ago #

    Can someone tell me how to FIX the jetpack auto Publicize to FACEBOOK function.....

    I have only been using Jetpack for about 2 weeks and everything was perfectly fine until about 5 days ago, when the auto Publicize to Facebook stopped using my Featured image from the post and grabbing an image from my website sidebar of my website http://thecrewenews.co.uk/

    I have had to unlink the Facebook connection.
    http://www.facebook.com/CreweNews

    If you scroll to the posts dated around 13th May, you will see the problem. The sponsor us image has been grabbed from the sidebar.

    BUT.....

    If i use the SHARE button within the post it grabs the correct featured image... all current posts at http://www.facebook.com/CreweNews can be seen as having the fetaured image displayed by doing this.

    PLEASE HELP !!!!!!!

    http://thecrewenews.co.uk/

  26. Richard Archambault
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    leonardogsouza,

    https://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fwww.zunkabitz.com%2Fplaneta-terra%2Fasteroide-1998-qe2-ira-passar-proximo-a-terra-em-duas-semanas%2F

    https://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fwww.zunkabitz.com%2Fplaneta-terra%2Fcientistas-norte-americanos-clonam-embrioes-humanos%2F

    As you can see, both of those pages get the following warning from Facebook:

    The 'og:image' property should be explicitly provided, even if a value can be inferred from other tags.

    And neither of those posts actually have an image associated with it. The solution, then, would be for you to include an image in your posts; depending on your theme, maybe even a Featured Image (Post Thumbnail). Try that, and let me know how it goes.

    Jason,

    https://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fthecrewenews.co.uk%2Fregional-intelligence-services-of-crewe-on-hand-to-help-you-investigate-the-real-truth%2F

    2 things. First, Facebook complains about meta tags being in the body and not the head. I looked at your source (even with your copy-protection plugin, it's possible to view the source, all it does is remove my ability to right-click on elemtns on your site, thus making debugging more difficult; I'd suggest removing that plugin). I didn't see any meta tags in the body, but I DID see a the following in the head

    <div align="center"><noscript>
       <div style="position:fixed; top:0px; left:0px; z-index:3000; height:100%; width:100%; background-color:#FFFFFF">
       <div style="font-family: Tahoma; font-size: 14px; background-color:#FFF000">To see this page as it is meant to appear, we ask that you please enable your Javascript!</div></div>
    </noscript></div>

    There should not be a div element outside of the noscript. You should remove this or fix it. This is likely what's confusing Facebook.

    However, there is also this message from Facebook:

    Provided og:image is not big enough. Please use an image that's at least 200x200 px. Image 'http://thecrewenews.co.uk/wp-content/uploads/Crewe-News-logo-with-banner1.jpg' will be used instead.

    You need to supply larger images in your post of you want Facebook to use them. For example, the image in that post is 198 by 300px, just small enough for FB to not use it.

    If you have any posts with images that should definitely have been grabbed by FB, try running them through the FB debugger to see if there any other issues with them.

  27. leonardogsouza
    Member
    Posted 1 year ago #

    Thank you Richard.
    However, I always put a Featured Image on my posts. That's why I don't understand why some posts go to Facebook with the image and some don't..

  28. Richard Archambault
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    leonardogsouza, but those 2 posts don't actually display an image. Does your theme support Featured Images yet not display them? I can't actually download the theme without becoming a member of MyThemeShop, to see for myself. Are you comfortable with looking at your theme files to see if it is supposed to display the featured image?

  29. leonardogsouza
    Member
    Posted 1 year ago #

    You mean an image inside the post, right?
    It is free to become a member of MyThemeShop, but I want to save you the trouble. What file should I look into? So the image that I choose to be a Featured Image (to show as the post thumbnail) should also be inside the post?

  30. Jason Griffiths
    Member
    Posted 1 year ago #

    Hi Richard, just to confirm... Yes my theme uses Featured Images in EVERY post. I have been playing around with it a little and have noticed if i included the featured image it DOES NOT post it (an image), BUT if i leave it out it does give an image from within the post !!!! (if 1 is included)

    I am not to bright at fiddling with HTML so would require an easy step by step run through to attempt to fix anything.

    It was all working brilliantly, but then 1 day it stopped :(

    Anything you can do to assist would be greatly appreciated :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic