WordPress.org

Ready to get started?Download WordPress

Forums

Jetpack by WordPress.com
[resolved] PUBLICIZE: og:description tag being ignored by FB & Google+ (4 posts)

  1. volleyballmaniac
    Member
    Posted 2 months ago #

    So I did a debug test here:

    https://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Flot63.com%2Foperational-coron-beach-resort-for-sale

    And everything checks out. My og:description is what it should be.

    However, when I submit to FB, it posts the notes I entered in the "Excerpt" field.

    Looking at my html source, there is no way that FB can see that excerpt (it's not outputted).

    1. Does JetPack->Publicize manually build/submit the og:descriptions to Facebook & G+?

    2. If not, how did FB get a hold of this excerpt?

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

  2. Brandon Kraft
    Happiness Engineer
    Plugin Author

    Posted 2 months ago #

    When using the Publicize feature with Facebook, since WordPress.com is directly submitting the information to Facebook, we mimic the og:description process (at least the typical one), which uses the Excerpt field if filled out.

    Facebook has the option to check it against the site, and will use that if someone manually shares it, though best not to rely on that.

    If you're in need of a space for notes, I'd suggest using Custom Fields, since they would not be assumed to be specific data for any plugin:

    More about that is can be read at http://codex.wordpress.org/Custom_Fields

    Cheers!

  3. volleyballmaniac
    Member
    Posted 2 months ago #

    I've disabled open graph tags using
    add_filter( 'jetpack_enable_open_graph', '__return_false' );

    And built my own tags.

    Are you saying that JetPack is directly submitting the content IN ADDITION to the Open Graph Tags?

    If so, is there any way to stop this using a hook or filter?

  4. Brandon Kraft
    Happiness Engineer
    Plugin Author

    Posted 2 months ago #

    Somewhat. Since the Facebook posting process happens between WordPress.com and Facebook, Jetpack has to create the information to post, which is done in a similar way to the same process that creates Open Graph tags.

    We have this on the roadmap to iterate and improve upon.

    In your particular case, Jetpack/WordPress.com is assuming that the Excerpt field is being used for the intended purposes (as would other plugins and themes). In the meantime, I would suggest using Custom Fields for non-excerpt information.

    Thanks!

Reply

You must log in to post.

About this Plugin

About this Topic