OG Data

  • Author
    Posts
  • #97865
    streetchris
    Member

    Hi there,

    How do I edit the og data for sharing my site? Ideally I’d like to set the image, headline and description for Facebook.

    Thanks

    The blog I need help with is: (visible only to logged in users)

    #98057
    kathrynwp
    Staff

    WordPress.com automatically sets up the Facebook Open Graph data for you.

    Here’s where the og data is picked up for the site as a whole:

    Image – Facebook should pick up the site’s Blavatar as long as it meets Facebook’s minimum size, currently 200px by 200px.

    You can set a Blavatar here:

    https://sincepokemongolaunched.wordpress.com/wp-admin/options-general.php

    Guide: https://en.support.wordpress.com/blavatars/

    Looks like you already set one, but it’s a bit blurry. I’d suggesting uploading another one that’s sharp at 200 by 200px at minimum.

    Title – Facebook should pull this from your site title.

    Description – go to Settings > SEO in your dashboard and set your meta description there. Facebook should pull this in.

    After you make your changes, you’ll need to run your URL through the Facebook debugger to clear its cache. Enter your URL here: https://developers.facebook.com/tools/debug/ – and click the Scrape Again button.

    You can always view your site’s og tags directly by viewing the browser source and looking at these tags:

    <!-- Jetpack Open Graph Tags -->
    <meta property="og:type" content="website" />
    <meta property="og:title" content="Since Pokemon Go Launched in NZ" />
    <meta property="og:url" content="https://sincepokemongolaunchedin.nz/" />
    <meta property="og:site_name" content="Since Pokemon Go Launched in NZ" />
    <meta property="og:image" content="https://secure.gravatar.com/blavatar/c9a5f15b62f7526cba94635f4d7bb988?s=200&ts=1468433311" />
    <meta property="og:image:width" content="200" />
    <meta property="og:image:height" content="200" />
    <meta property="og:locale" content="en_US" />
    #98061
    streetchris
    Member
    Original poster

    Thanks – all updated

    #98069
    kathrynwp
    Staff

    Great – glad you’re all set.

  • The topic ‘OG Data’ is closed to new replies.