WordPress.org

Support

Support » Plugins and Hacks » Jetpack by WordPress.com » [Resolved] Facebook pulling in wrong image from Publicise

[Resolved] Facebook pulling in wrong image from Publicise

Viewing 15 replies - 1 through 15 (of 36 total)
  • Same here. When there is a pic (or several pics) in the post Publicize often picks some random pic from another post. Even more often it doesn’t attach any picture to a post with pics (and gives a strange looking title in the post box on Facebook with some link code). No matter how many times I re-connect it, it’s broken.

    I am having the same problem, only the image it pulls happens to be the Paypal logo from my site, or it doesn’t have any image and just a link to my site.

    If I simply use the Facebook share button, then the blog is shared with Facebook with the proper image.

    Very frustrating at this point.

    see for examples over the last couple of weeks.

    Plugin Author Jeremy Herve

    @jeherve

    Jetpack Mechanic

    When you share a post on Facebook, or when Jetpack Publicize publishes a post to your Facebook page, Facebook crawls the page and looks for Open Graph meta tags in the head to build a complete post preview (with an image, title, description, …).
    Jetpack automatically adds these meta tags for you, unless you use a different plugin to handle Open Graph tags.

    @jairus As you mentioned, the Open graph tags are displayed properly on your site; the Facebook debugger doesn’t return any errors.

    @samaralife Could you post your site URL here, so I can have a look?

    If you want it to remain private, you can also contact us via this contact form:
    http://jetpack.me/contact-support/

    @quailrunphotos You’re using the WordPress SEO plugin to handle Open graph tags on your site. As a result, Jetpack doesn’t have any influence over the images added as Open Graph image meta tags.

    @all It’s worth noting that more and more blog owners have reported similar issues in the past few weeks; although their site contains the necessary meta tags, Facebook doesn’t respect them and doesn’t add any image to the post previews. For some of these users, the problem was linked to this Facebook bug:
    https://developers.facebook.com/bugs/483025408453290

    It might be worth testing a few of your own posts and check if you’re experiencing the same issue.
    You can see what Facebook sees by entering one of your posts’ URLs in Facebook Debugger:
    https://developers.facebook.com/tools/debug

    So if I’m understanding your post correctly, this is a bug on FB’s end, and there doesn’t seem to be anything we can do about it if the debugger is returning the proper image?

    Site URL http://samaralife.com
    FB https://www.facebook.com/andrey.kirillov.5

    Possible scenarios.

    1. Plugin works fine, choosing a pic from the post. Yet, sometimes it chooses an arbitrary pic from the post. Sometimes it even chooses a pic from the gallery (NGGallery) even if there are pics inserted in the post body before the gallery. The example of the latter is http://samaralife.com/otkrytie-gtu-200-v-novokuibyshevske/ and https://www.facebook.com/andrey.kirillov.5/posts/654206781280106
    NB: If there are any pics inserted in the body of the post I do not set any featured image. I am not aware if the theme picks an image to be featured (in my theme the first picture of the post is featured in the blog’s homepage and other pages).

    2. When there is no picture in the post or featured image is not unique to the specific post (I insert certain category-specific featured images in some picture-less posts by just inserting a featured image from the WP media gallery), some random image from the blog (not the post, not this featured image) is featured in FB, usually site visitors’ map like here http://samaralife.com/ekh-prokatyat/ and https://www.facebook.com/andrey.kirillov.5/posts/653574254676692
    On the other hand other posts with featured images inserted in the same fashion display this image in FB like here http://samaralife.com/blognot-85/ and https://www.facebook.com/andrey.kirillov.5/posts/652954598071991

    3. Sometimes there are images in the post (again, in the body of the post, not set as featured) but FB shows a pic from some other post (maybe this picture is taken from the NG gallery picture widget in the sidebar, then this case should be the same as No.4) like here http://samaralife.com/a-bit-of-golden-samara/ and https://www.facebook.com/andrey.kirillov.5/posts/652328984801219

    4. There are images in the post, but but some random thing is displayed like site visitors’ map as in here http://samaralife.com/komu-vygodno-ubiystvo-dergileva/ and https://www.facebook.com/andrey.kirillov.5/posts/651058914928226

    5. The most frustrating and frequent case is when there are images in the post but FB doesn’t show any, not even some pic from another post. In this “broken” case you can see the post address with some “fb source” add-on instead of the post title in FB. The most recent example is http://samaralife.com/elevator-gostinitsa/ and https://www.facebook.com/andrey.kirillov.5/posts/650425014991616

    I’ve just seen the info about possible FB pic size requirements. But in most of my cases the pics are inserted into the post and are 700px by the longer side. And I don’t think it’s the size requirement as sometimes the correct images are displayed and sometimes no images are displayed at all. So this must be something else, not the size.

    Jeremy.
    Thanks for the heads up about the WordPress SEO. I have disabled that feature and now only have the JetPack Share feature turned on. (I hope anyway).

    So I set up my post with both an internal image and a featured image. Selected to publish to my facebook page as part of the Update process.

    The post never showed up in Facebook.

    Here is the link to my post.

    http://quailrunphoto.com/test-post-facebook-problem/

    I then did a manual share of the WP post. The post showed up in my personal FB as post with just a link, no photos. It should have shown up in my business page and should of had the image with it.

    This was working until about a month ago. Anyone have a suggestion to replace Jetpack Post Sharing?

    [Moderator Note: Please ensure that you are embedding links correctly in your posts.]

    Plugin Author Jeremy Herve

    @jeherve

    Jetpack Mechanic

    @jairus That’s correct. Once you’ve made sure that your posts include Open Graph meta tags, and if the images added in the meta tags are large enough, there isn’t much more you can do, but trust that Facebook will take this into consideration when building post previews.
    The image meta tags seem correct on your site, so I’m afraid there isn’t much more I can do to help here.

    @samaralife Thanks for all these details.

    You’re not using any plugin to handle Open Graph meta tags, so everything on your site is handled by Jetpack. Here is what Jetpack looks for when building Open Graph Meta tags:

    1) If you’ve selected a featured Image, it will be used as an Open Graph meta tag.
    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, Jetpack won’t add any image meta tag to your site.

    1. http://samaralife.com/otkrytie-gtu-200-v-novokuibyshevske/
    3. http://samaralife.com/a-bit-of-golden-samara/
    4. http://samaralife.com/komu-vygodno-ubiystvo-dergileva/
    5. http://samaralife.com/elevator-gostinitsa/

    In these 4 posts, you had inserted images (either through a Featured Image or in the post itself). The Jetpack Open Graph meta tags were built properly, as you can check by viewing the source code for each page, or by entering the post URLs in Facebook’d debugger:

    https://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fsamaralife.com%2Fotkrytie-gtu-200-v-novokuibyshevske%2F
    https://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fsamaralife.com%2Fa-bit-of-golden-samara%2F
    https://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fsamaralife.com%2Fkomu-vygodno-ubiystvo-dergileva%2F
    https://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fsamaralife.com%2Felevator-gostinitsa%2F

    Yet, Facebook chose to ignore these meta tags when building the post previews, and even ignored the title tag in your fifth example. As I mentioned to @jairus earlier I’m afraid there isn’t much you can do here, with Jetpack or any other Open Graph plugin; it’s up to Facebook to use these tags or not.

    2. When there is no picture in the post
    http://samaralife.com/ekh-prokatyat/
    http://samaralife.com/blognot-85/

    Since there wasn’t any image in the post, Jetpack didn’t create any image meta tag, and Facebook then decided to pick an image at random to build the post preview:

    https://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fsamaralife.com%2Fekh-prokatyat%2F
    https://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fsamaralife.com%2Fblognot-85%2F

    If you want to avoid this problem, you could add a default fallback image that would get added to the Open Graph Meta tags when Jetpack can’t find any image in your posts. You can follow the instructions here to learn how to do this:
    http://wordpress.org/support/topic/help-can-i-specify-a-defaultfallback-image?replies=3#post-4763346

    I’ve just seen the info about possible FB pic size requirements. But in most of my cases the pics are inserted into the post and are 700px by the longer side.

    Since you use Jetpack to manage Open Graph meta tags in your posts, you do not have to worry about size requirements; Jetpack does it for you, and won’t add an image as a Open Graph meta tag if it’s too small.

    @quailrunphotos

    Thanks for the heads up about the WordPress SEO. I have disabled that feature and now only have the JetPack Share feature turned on. (I hope anyway).

    As long as the plugin is active, Jetpack will not output any Open Graph meta tags. I would consequently recommend that you turn the OG meta tags back on under SEO > Social in your dashboard.

    This was working until about a month ago. Anyone have a suggestion to replace Jetpack Post Sharing?

    As I mentioned above, while your Open Graph meta tags may not have changed, it seems that Facebook doesn’t always use them to build the post previews. Unfortunately, there is not much we can do on our end, apart from mentioning the bug to the Facebook developers.

    @jeremy

    Thank you very much for looking into the problem. I guess, I’ll have to live with FB’s faults. 🙂

    Thanks for following up on this.

    I will turn OG back on under the SEO dashboard.

    @jeremy

    After Pulicize again published a site visitors’ map instead of any of the two pictures attached to the latest post, I decided to turn the function off and publish links in FB directly. It worked with the very same post. So I am not sure if the problem is entirely with FB. There must be some kind of an issue with Jetpack’s Publisize too.

    Plugin Author Jeremy Herve

    @jeherve

    Jetpack Mechanic

    So I am not sure if the problem is entirely with FB. There must be some kind of an issue with Jetpack’s Publisize too.

    I’ve noticed this as well for some other Jetpack users. That makes me think that there must be a timeout on Facebook’s end. When a post is published via Publicize, Facebook is often the first to load the page and the images since Publicize is triggered as soon as the post is published.
    It could be that the images take a while to load, and Facebook bails before the images are fully loaded.

    When you share the post manually, you load the page and the images before Facebook does so.

    It might be worth trying to load the images once before Facebook gets the chance to do so, just to see if it helps.
    Let us know how it goes!

    Are other people having this problem using Photon? Maybe that could be the problem, if the images are being served by Photon for the first time and take an extra few seconds to load.

    (I’m disabling Photon temporarily to see if this changes anything.)

    Plugin Author Jeremy Herve

    @jeherve

    Jetpack Mechanic

    Maybe that could be the problem, if the images are being served by Photon for the first time and take an extra few seconds to load.

    That could be one of the sources of the problem indeed. Let me know how it goes!

Viewing 15 replies - 1 through 15 (of 36 total)
  • The topic ‘[Resolved] Facebook pulling in wrong image from Publicise’ is closed to new replies.
Skip to toolbar