• Resolved nhlabor@gmail.com

    (@nhlaborgmailcom)


    I have been having a problem where my links will not post to Facebook. When I run the debug this is what I get. How do I fix it so when I hit publish I do not have to put the link in a debugger and then post for it to work.

    Original Link wp.me/p2yHP6-3z0

    Open Graph Warnings That Should Be Fixed
    Extraneous Property Objects of this type do not allow properties named ‘template’.
    Parser Mismatched Metadata 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 properties that were not seen in the parsed result: ‘template’

    https://wordpress.org/plugins/jetpack/

Viewing 5 replies - 1 through 5 (of 5 total)
  • 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 Open Graph meta tags to your posts unless you already use another Open Graph plugin. Looking at your site, it seems you do use another OG plugin, but I’m not sure which one.

    Facebook doesn’t seem to have any issues with your Open Graph meta tags though. The problematic tag is this one:

    <meta property="template" content="mantra" />

    It seems to be added by your theme. I would suggest that you remove the tag from your header.php file, or contact the theme author to let them know about the Facebook Debug error.

    I hope this helps.

    Thread Starter nhlabor@gmail.com

    (@nhlaborgmailcom)

    Jeremy,

    The only other plugin that could use the FB OG is the facebook plugin. Could that be conflicting with the Jetpack?

    I will send the message to the Mantra developers too.

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    Could that be conflicting with the Jetpack?

    It wouldn’t create any conflicts, no. If the Facebook plugin is active, Jetpack will stop adding Open Graph meta tags to your posts, and will let Facebook do the job.

    I will send the message to the Mantra developers too.

    That seems like the best course of action, since the problem will happen for all site owners using this theme and including this meta tag in the header.

    In your functions.php of your child theme, add the line:

    remove_action (‘cryout_seo_hook’,’mantra_seo_template’);

    This SHOULD prevent that meta property from showing up, but I cannot get it to. Ive tried setting the priority high, and setting it low. Now I’m stumped too…

    I worked with this longer, and the easiest thing I found to do was disable the themes attempts at SEO, which is okay, since I already have WP SEO installed. The two clashed anyway.

    With this disabled, the meta property “template” is now gone.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Not publishing to Facebook’ is closed to new replies.