Forums

[resolved] Jetpack Facebook Share Not loading Featured Image or Title (24 posts)

  1. tgau13
    Member
    Posted 1 year ago #

    I recently installed WordPress, using the Weaver II theme, and I use the Jetpack widgets that came with the theme to connect with social media like Facebook, Twitter, etc. The problem is when I am sharing my blog post, I do not get an image or a title for the Facebook Share feature on Jetpack. I tried disabling Jetpack and using another plugin for social media, but the problem was the same.

    I've searched this forum and several others for an answer. The best I can glean is that there is an issue with FB crawling my site and finding the meta data. I've added code specifying the meta data after I debugged the site using the Facebook debugger. And I inserted the code it suggested into the <Head> section. But I'm still getting an error: "The parser's result for this metadata did not match the input metadata. Likely, this was caused by the data being ordered in an unexpected way, multiple values being given for a property only expecting a single value, or property values for a given property being mismatched. Here are the input property =>content pairs that were not seen in the parsed result: 'og:url => http://www.rageforexplaining.com, og:url => http://www.rageforexplaining.com'"

    I'm still fairly new to WordPress and I'm not a strong coder. Is there another fix for this? I was hoping that the Facebook integration would be fairly seamless.... Can anyone help?

  2. Marventus
    Member
    Posted 1 year ago #

    Hi!
    The most likely reason for your problem is that you are defining the metadata information twice on the same site: on lines 30 to 35, and 147 to 152.
    To locate the code in question in your HTML source, do the following:
    1. Firefox, Chrome and Opera: Click on Ctrl+U;
    2. Safari and Internet Explorer: Right click -> View source.
    To fix that, you just need to remove one instance. It seems the second instance is coming from your theme's options.
    Cheers!

  3. tgau13
    Member
    Posted 1 year ago #

    Thank you so much for your reply! I did find the code in the <Head> section twice and I removed the second instance of it by removing what we added to the <head> section in the options.

    However, I'm still not having any luck getting the featured image or title to show up when I share on Facebook. What am I missing here? Thank you again - you suggestion was very helpful!

  4. Marventus
    Member
    Posted 1 year ago #

    No pb!
    Yeah, you are right: although now the sharing works, it's not pulling the title and image info as it should.
    This could be for two reasons:
    1. You are not adding all the necessary info correctly (which seems unlikely, since I checked and evth seems to be there); OR
    2. The plugin is not doing it's job.
    In both cases, it wouldn't hurt taking a look at this wpbeginner post. In that post, they provide a more elaborate code to add Open Graph to your site and a link to a plugin that does it automatically.
    LMK if this is helpful.

  5. Marventus
    Member
    Posted 1 year ago #

    Oh, BTW. Your background image is set on repeat and it doesn't look great on high resolution displays.
    Right now, it looks like this:
    http://imagebin.org/212049
    If you change some CSS values, you can make it non-scrollable and cover the whole page, which would look like this:
    http://imagebin.org/212050
    If you like the 2nd option the best, you need to open your style.css file and insert the following code:

    body.custom-background {
    background-attachment: fixed !important;
    background-repeat: no-repeat !important;
    background-size: cover;
    }

    Cheers!

  6. tgau13
    Member
    Posted 1 year ago #

    Thank you again for your help with this. Thanks to your suggestion to follow the steps in the wpbeginner post, I was able to get my pages to post titles and thumbnails. However, I still do not have this capacity for my posts. I used the WP plug-in first to try to correct this issue, then I disabled the plug-in and entered the code in hopes that would solve it. But to no avail. I'm very glad to have my pages working, but I still don't understand why the posts won't follow suit. Any more good suggestions?

    Also, thank you very much for the code to position my background! It does look much better now and I'm very appreciative of your suggestion! It looks great without the tiling!

  7. Marventus
    Member
    Posted 1 year ago #

    Hi again!
    Glad it is working partially at least, and that you like how the bgd displays now.
    It is rather unusual that it work with pages and not with posts. This could suggest that the issue relies on the theme side. I would try to switch themes to TwentyEleven (default WP theme) and see if the issue remains. If it does not, you have your culprit; if it does, then the issue lies somewhere else.
    Please try that switch and LMK what happens.

  8. tgau13
    Member
    Posted 1 year ago #

    I tried the TwentyEleven theme and I'm still getting the same issue with the titles and thumbnails. So no issues with the theme.

    I'm starting to think that this is a Jetpack 1.3 issue. I read a number of support feeds regarding Jetpack non-compatibility with many other plug-ins. Nothing was mentioned about meta-data, but maybe I'm just lucky to have it strike in an unusual way.

    There were several fix suggestions to remove Jetpack via FTP and then reload it. I think I may try that next - tomorrow, when I can look at this stuff again without my eyes crossing!

    Thank you again for getting back to me with excellent suggestions!

  9. tgau13
    Member
    Posted 1 year ago #

    Darn it! I deleted Jetpack and re-installed it and I'm still getting the same problem with the titles and thumbnails! Oy! What can I possibly be missing?

  10. Marventus
    Member
    Posted 1 year ago #

    Maybe you should just try a different Social plugin see if it works better than Jetpack.

  11. tgau13
    Member
    Posted 1 year ago #

    I've done that too. Same problem. I wish I could tell you something different. I sound like a broken record. If anyone out there remembers what records were....

  12. Marventus
    Member
    Posted 1 year ago #

    If anyone out there remembers what records were....

    I do. I used to listen to my mom's records when I was a kid, and I'm really not that old, so... ;-)
    Have you tried the Share and Follow plugin? We are using it in a tumbler blog and it has been working really smoothly with very little customization.

  13. tgau13
    Member
    Posted 1 year ago #

    Yay for records! I still have a bunch from college in my basement.... I'll never play them, but I can never give them up.

    As for my perennial problem.... I disabled Jetpack and installed Social Sharing Toolkit for WordPress. Share and Follow was not available :( Still the same issue! ARGGGGHHH!

  14. tgau13
    Member
    Posted 1 year ago #

    Perhaps I just start over, huh? Perhaps I just get rid of this website and start from scratch - reinstall my theme, my plugins and my widgets. Maybe a clean slate is all this needs....

  15. Marventus
    Member
    Posted 1 year ago #

    Still the same issue! ARGGGGHHH!

    That blows... Big time, although I would not recommend a WP re-install from scratch without at least a hypothesis about where the issue lies. Otherwise, chances of the issue reoccurring will be high.
    On another note, and I am sorry if the question is too obvious but: do you actually need Open Graph functionality or is your main goal to just allow your users to share your posts and pages on FB?
    Because if the answer is the latter, maybe you should just remove Open Graph and use a social sharing plugin of your choice without it.
    As for Share and Follow, you are right: there seems to be a problem in the repository with that plugin, but the author is working on it (ref).

  16. tgau13
    Member
    Posted 1 year ago #

    I really do need the open graph functionality. Studies show that those links with images attached really do go further than the ones without. And since I'm just starting out as a blogger, I'd love to build a decent audience. Without the images or a bit of my blog in the share, it doesn't spark interest. So I'll be looking at re-creating the website. Bleugh.

  17. Marventus
    Member
    Posted 1 year ago #

    I understand. It's just that you don't need to add Open Graph yourself manually to be able to enjoy all the its features.
    The website that I told you about does not explicitly add og metadata in the headers, but all the post-related info appears when shared on social media.
    Let's do this:
    1. You wait until Share and Follow is available for download, install it, and give it a try;
    2. I'll download and test Jetpack see if I can reproduce the problem you are experiencing.
    3. Take it from there, ;-)
    Stepping it now. Talk to you tomorrow.
    Cheers!

  18. tgau13
    Member
    Posted 1 year ago #

    I'll wait it out. You're the best! Thanks!

  19. Marventus
    Member
    Posted 1 year ago #

    So, bad news:
    1. I was noot able to reproduce the problem with Jetpack;
    2. The share-and-follow plugin has not been available on the plugin repository since April, and there does not seem to be any info as to whether or when it will be.
    My advice is to test thoroughly to make sure the issue is not related to a plugin incompatibility and/or to try out different social plugins until you find one that suits you.

  20. tgau13
    Member
    Posted 1 year ago #

    Thanks, Marventus! I'll start the process tonight! Something weird is going on - and I'll try something until it works!

  21. tgau13
    Member
    Posted 1 year ago #

    Hey! I got it to work! It was a long process, but it did have it's advantages. I started from scratch - removed the WordPress site from ever existing and then created a new one. There must have been a glitch in the original install - 'cause it works now! Thank you for all your help and for pointing me the right direction!

  22. Marventus
    Member
    Posted 1 year ago #

    That is great news! I'm glad you finally got this working. I am also kind of relieved, but I was running out of ideas, hehehe.
    Best of luck to you!

  23. Marventus
    Member
    Posted 1 year ago #

    Please don't forget to mark this thread as resolved whenever you get a chance.
    Thanks!

  24. tgau13
    Member
    Posted 1 year ago #

    Done! Thanks for the reminder!

Topic Closed

This topic has been closed to new replies.

About this Topic