WordPress.org

Ready to get started?Download WordPress

Forums

Facebook
[resolved] More Than One OG URL Specified (3 posts)

  1. frons79
    Member
    Posted 1 year ago #

    Hi, these are the facts:

    1. when I press the "send" button on some articles, in the preview I see the correct (article) thumbnail and the correct text, in other, older, posts I just see the default image (of the whole blog) and the correct text. How do I fix this?

    2. When I check the article links with the linter, it keeps on saying me that I have two og:url values, which is not true, because looking at the code of a random article (http://www.obscura.ws/dynfari-sem-skuggin/), it is [line 41]:

    <meta property="fb:admins" content="100000429576408"/><meta property="fb:app_id" content="224566830960757"/><meta property="og:title" content="Dynfari – Sem Skuggin"/><meta property="og:type" content="article"/><meta property="og:url" content="http://www.obscura.ws/dynfari-sem-skuggin/"/><meta property="og:site_name" content="OBSCURA"/><meta property="og:image" content="http://www.obscura.ws/wp-content/uploads/2012/10/74-300x300.jpg"/>
    <link rel='stylesheet' id='fb-css'  href="http://www.obscura.ws/wp-content/plugins/facebook/style/style.css?f22064" type='text/css' media='all' />

    And from [line 102]:

    <meta property="http://ogp.me/ns#locale" content="en_US" />
    <meta property="http://ogp.me/ns#site_name" content="OBSCURA | darkness in music" />
    <meta property="http://ogp.me/ns#type" content="article" />
    <meta property="http://ogp.me/ns#url" content="http://www.obscura.ws/dynfari-sem-skuggin/" />
    <meta property="http://ogp.me/ns#title" content="Dynfari – Sem Skuggin" />
    <meta property="http://ogp.me/ns#description" content="Not many bands playing metal music coming from far Iceland, at the edge of the world, literally  And sure a lot less even playing this particular style of metal, in this shape and form. Dynfari hail us from the dark and cold  Reykjavík with a majestic, slow and sorrowful black metal (which someone could label as [...]" />
    <meta property="http://ogp.me/ns/article#published_time" content="2012-10-10T13:49:13+00:00" />
    <meta property="http://ogp.me/ns/article#modified_time" content="2012-10-16T12:24:16+00:00" />
    <meta property="http://ogp.me/ns/article#author" content="http://www.obscura.ws/" />
    <meta property="http://ogp.me/ns/article#section" content="Black" />
    <meta property="http://ogp.me/ns/article#tag" content="Code666" />
    <meta property="http://ogp.me/ns/article#tag" content="Doom" />
    <meta property="http://ogp.me/ns/article#tag" content="Iceland" />
    <meta property="http://ogp.me/ns/article#tag" content="Review" />
    <meta property="http://ogp.me/ns#image" content="http://www.obscura.ws/wp-content/uploads/2012/10/74.jpg" />
    <meta property="http://ogp.me/ns#image:width" content="450" />
    <meta property="http://ogp.me/ns#image:height" content="450" />
    <meta property="http://ogp.me/ns/fb#app_id" content="291795524220990" />

    How do I fix this?

    I don't have any other plugin that can interfere with this one in terms of creating meta or OGP tags

    http://wordpress.org/extend/plugins/facebook/

  2. Samuel Wood (Otto)
    Tech Ninja
    Plugin Contributor

    Posted 1 year ago #

    You do have two og:url's.

    The one that has the property of "http://ogp.me/ns#url" is added by the Facebook plugin. Something else in your install is adding a separate og:url along with a bunch of other OG information.

    Turn off your plugins and/or fix your theme to not add the extra OpenGraph information. The Facebook plugin does that all for you.

  3. orenlebbo
    Member
    Posted 1 year ago #

    Hi,

    I have the same problem with my website.

    I too get an error when trying to debug the link on facebook debugger.

    Thanks

    [Please stop posting exactly the same thing in multiple existing topics.]

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags