WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Facebook] OG Taqs conflict (1 post)

  1. jgbeldock
    Member
    Posted 2 years ago #

    It appears that the Facebook plugin automatically generates OG tags. Unfortunately, there seems to be a conflict between what those contain and what the developers.facebook.com app tells me to use. Is there a way to turn off the automatic generation by the Facebook plugin so I can control the content (i.e., write my own tags as part of my theme)?

    Here's what the Facebook plugin automatically generates:

    <meta property="http://ogp.me/ns#locale" content="en_US" />
    <meta property="http://ogp.me/ns#site_name" content="[blah]" />
    <meta property="http://ogp.me/ns#type" content="website" />  <strong>note, *NOT* what FB recommends!</strong>
    <meta property="http://ogp.me/ns#title" content="[blah]" />
    <meta property="http://ogp.me/ns#description" content="[blah]" />
    <meta property="http://ogp.me/ns/fb#app_id" content="[somenumber]" />

    And here's what the developers.facebook.com website tells me to use, which makes sense, because I am creating an APP, as the instructions for their plugin specifically tells me to do:

    <head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# article: http://ogp.me/ns/article#">
      <meta property="fb:app_id"      content="[somenumber" />
      <meta property="og:type"        content="article" /> <strong>This makes more sense </strong>
      <meta property="og:url"         content="Put your own URL to the object here" />
      <meta property="og:title"       content="Your Open Graph object title" />
      <meta property="og:image"       content="http://ogp.me/logo.png" />
      <meta property="og:description" content="Your Open Graph object description" />

    Anyone know how to turn off the automatic generation so I can implement what they tell me I should?

    Thanks!
    -James

Topic Closed

This topic has been closed to new replies.

About this Topic