WordPress.org

Ready to get started?Download WordPress

Forums

Jetpack by WordPress.com
[resolved] Facebook pulling in wrong image from Publicise (33 posts)

  1. Jairus
    Member
    Posted 9 months ago #

    Many of my posts, when pushed to Facebook via Publicise, are pulling in the wrong image. You can see this here:

    FB: http://www.facebook.com/dogshamingcom/posts/244978872317360
    WP: http://www.dogshaming.com/2013/10/anti-tech-hound/

    If you run the URL through FB Open Graph Debug, it pulls in the correct image, but it doesn't show the right one on posting. Seems to be totally random as far as which posts show correctly and which don't.

    Any thoughts?

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

  2. samaralife
    Member
    Posted 9 months ago #

    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.

  3. quailrunphotos
    Member
    Posted 9 months ago #

    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.

  4. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 8 months ago #

    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

  5. Jairus
    Member
    Posted 8 months ago #

    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?

  6. samaralife
    Member
    Posted 8 months ago #

    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

  7. samaralife
    Member
    Posted 8 months ago #

    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.

  8. quailrunphotos
    Member
    Posted 8 months ago #

    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.]

  9. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 8 months ago #

    @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.

  10. samaralife
    Member
    Posted 8 months ago #

    @Jeremy

    Thank you very much for looking into the problem. I guess, I'll have to live with FB's faults. :-)

  11. quailrunphotos
    Member
    Posted 8 months ago #

    Thanks for following up on this.

    I will turn OG back on under the SEO dashboard.

  12. samaralife
    Member
    Posted 8 months ago #

    @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.

  13. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 8 months ago #

    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!

  14. Jairus
    Member
    Posted 8 months ago #

    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.

  15. Jairus
    Member
    Posted 8 months ago #

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

  16. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 8 months ago #

    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!

  17. Jairus
    Member
    Posted 8 months ago #

    Disabling Photon did not help.

  18. quailrunphotos
    Member
    Posted 8 months ago #

    See my previous comments about how my Shared posts appear on my FB business page.

    I did a test post today to see if I could narrow down the problem.

    I have the latest Jetpack and WP versions running with Photon disabled but Share turned on for FaceBook, Twitter and LinkedIn.

    I created a draft post with one imbedded image and one link to another site, but I disabled the Share to FaceBook, Twitter and LinkedIn with the Edit on the Publicize option.

    I then published the post. You can see it at:

    The Greater Roadrunner

    I waited 3 hours to confirm that it did not appear on FB, Twitter or LinkedIn. I went to the above link and selected the FaceBook icon at the bottom. I was presented with the FB link popup with the option for comments, selecting the image for the FB post, etc.

    I accepted the defaults and you can see the results on my personal FB page for David Woodcock. The post shows with the correct photo.

    So I think that this shows two things:
    1. I believe the Automatic Share function in Jetpack has a problem being able to post to FB. The manual share works perfectly and presents the image correctly.
    2. That the manual share at the individual Post is setup to share with your personal FB page, not the FB page account defined in the Automatic Share function. Maybe this is by design?

    So at this point I can not really share a post with my business page and have it present the image correctly.

    I hope this helps.

  19. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 8 months ago #

    1. I believe the Automatic Share function in Jetpack has a problem being able to post to FB. The manual share works perfectly and presents the image correctly.

    As I mentioned earlier, there is no difference between the way previews are built for a post published via Publicize or for a post published manually.

    However, and as we discussed with @samaralife and @Jairus, the problem could be caused by a problem for Facebook to grab the images from the meta tags when Facebook is the first to load the images.
    I'm not sure what the solution could be, short of quickly loading a post in your browser as soon as you've published the post, and hope that you load the images before Facebook does.
    You could also report the issue here:
    https://developers.facebook.com/bugs/

    2. That the manual share at the individual Post is setup to share with your personal FB page, not the FB page account defined in the Automatic Share function. Maybe this is by design?

    Facebook Like and Share buttons do not allow you to post to Pages, only to personal profiles. This is something we cannot control, as the post action is made on Facebook.

  20. Jairus
    Member
    Posted 8 months ago #

    I've reported the problem to facebook several times, but no answer. Would it be possible to build a debug version of Publicize that loads the featured image and waits five seconds before submitting it to FB, to see if that's the issue?

  21. quailrunphotos
    Member
    Posted 8 months ago #

    I would certainly vote for Jairus's suggestion and help test if needed. This is a really annoying problem, I am about ready to turn off this feature and look for some other solution if it does not get resolved.

  22. arielmeadow
    Member
    Posted 8 months ago #

    Like others, I'm basically about ready to give up on Publicize. I've debugged with Facebook several times, and my posts look fine. Publicize consistently results in the wrong images, and (as of today) NO images being pulled into Facebook.

  23. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 8 months ago #

    Would it be possible to build a debug version of Publicize that loads the featured image and waits five seconds before submitting it to FB, to see if that's the issue?

    We'll run some tests and see if that helps, yes. If it does, we'll include the fix in the next Jetpack release.

  24. W-P-Zar
    Member
    Posted 8 months ago #

    Jeremy.
    anything new?

    Publicize not working properly

    I'm looking at different forum post
    many similar problems ..

  25. solomexico
    Member
    Posted 5 months ago #

  26. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 5 months ago #

    @solomexico Could you check this thread? If that doesn't help, could you please start your own thread, as per the Forum Welcome?
    http://wordpress.org/support/plugin/jetpack#postform

    Thank you!

  27. farkkj
    Member
    Posted 5 months ago #

    Hi,

    I found the solution in regards of this issue. Your post image should at least 200x200 in size or maximum. And if your post image smaller than 200x200 size then FB share widget will choose random image which is most higher in width n height. Hope this help. Just try to upload more than 200px wider and 200px higher in height. Then check your sharing widget working perfect :)

  28. farkkj
    Member
    Posted 5 months ago #

    Here you can see the widget its working perfect :)
    http://www.pinkgerms.com/

  29. sustainablejill
    Member
    Posted 5 months ago #

    I have been having similar problems with my site for the last few months.

    I have been trying to find and follow solutions via the forum and online, to no avail.

    I used to be able to manually publicise posts to Facebook or LinkedIn with ease...and they would always show (or have available) the image(s) I had inserted in the post.

    Now that doesn't work:
    . FB always pulls up my site's main banner picture
    . LI sometimes gives me an option of images, other times (like this week) it only pulls up the main banner picture.
    . It doesn't make any difference whether I use the URL or the share button to share the post.

    I have read the posts saying that images need to be at least 200x200. I have ensured that this is the case but it does not make any difference.

    I have tried using the FB debugger...and it says the images need to be at least 200x200 - even if they are that size or much bigger. Here is an extract the latest replies (which are at https://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fsustainablejill.com%2Fthe-importance-of-good-focus%2F):

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

    . Provided og:image is not big enough. Please use an image that's at least 200x200 px. Image 'http://sustainablejill.com/wp-content/uploads/2012/05/cropped-Earth-in-your-hands-11296348_l.jpg' will be used instead.

    I have also read posts about OG metatags, but cannot seem to find where they are located (I am a relative newcomer and not an IT geek).

    My site: http://sustainablejill.com/

    Sharing plug-in: Jetpack Publicize (latest version)

    Please help! Thanks in advance.

  30. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 5 months ago #

    @sustainablejill Could you please start your own thread, as per the Forum Welcome?
    http://wordpress.org/support/plugin/jetpack#postform

    Thank you!

Reply »

You must log in to post.

About this Plugin

About this Topic