WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Failed Posting To Your Facebook Timeline "Multiple 'og:url'values"

[Resolved] Failed Posting To Your Facebook Timeline "Multiple 'og:url'values"

Viewing 15 replies - 1 through 15 (of 38 total)
  • Plugin Author Niall Kennedy

    @niallkennedy

    Which other plugins are you using to generate Open Graph protocol? Duplicating your output will cause problems.

    The Facebook plugin integrates the latest version of Open Graph protocol, properly describing content for Facebook, Google, and other indexers. When I view your site I see older “Facebook Share” markup and Open Graph protocol output without a proper RDFa prefix, likely coming from a separate plugin.

    Thanks Niall,

    I am using
    Jetpack by WordPress.com 1.4.2
    Twitter Facebook Social Share by Kunal Chichkar 2.4.0
    There are also Facebook Share buttons associate with the Theme “Music Pro” by BrutalDesign (purchased thru themeforest.net

    Is there any way to fix the problem without deleting a plugin?

    Thanks again
    Louis

    Niall – where is this “new” version of opengraph documented? Its certainly not documented on the official opengraph website

    I’m getting this same response too – just replaced with my site post url.
    Do I need to wait a few days for the facebook app to start working properly?
    I have the latest version of the app.

    I have WP with a prophoto theme.
    my current plugins are:
    Analytics360
    Do Follow
    Google XML Sitemaps
    Official StatCounter Plugin
    Social (installed after getting this message – so I don’t think it’s interfering with the facebook plugin)
    WordPress Database Backup

    I have the same problem. Here’s my error notification:

    Failed posting to your Facebook Timeline. Error: {“message”:”Object at URL ‘http://jrforasteros.com/2012/06/26/test-5/’ of type ‘article’ is invalid because it specifies multiple ‘og:url’ values: http://jrforasteros.com/2012/06/26/test-5/, http://jrforasteros.com/2012/06/26/test-5/.”,”type”:”Exception”}

    I deactivated my old Facebook Social plugin and recreated my app. Nothing has worked. What do I need to do?

    I created a new WordPress Site.
    There are no plugins associated with the site.
    Using the MUSIC PRO theme as with my main site, the Facebook Plugin still results in the MULTIPLE ‘OG:URL’ error.
    The Music Pro theme has social share options, and they are all turned off.
    It appears to be a Theme issue, that even though the social share buttons are turned off, it is still generating multiple url.
    I read in another support chain, that changing the path of other social plugins, that his fixed the issue, yet I can no longer find that particular chain.
    Does anyone know how to do this?

    This is the HTML code in the theme editor

    /* Facebook */
    if($facebook){
    $html .= ‘<div style=”float:left;width:80px;height:20px;margin-right:18px; margin-bottom:10px”>
    <div class=”fb-like” data-href=”‘.$link.'” data-send=”false” data-width=”100″ data-height=”80″ data-layout=”button_count” data-show-faces=”false” data-font=”verdana”></div>
    </div>’;

    Is there something I can change the “data-href” to?
    To note, I am not using the social share, should I just delete the Facebook HTML altogether?

    It is not a problem with the theme. It is a problem with Facebook plugin.

    I’m running a different theme on my website, without any other plugins, and I’m getting the same error.

    But if I look in the Source Code of every post, there’s only one og:url, so there’s something else messed up.

    Plugin Author Niall Kennedy

    @niallkennedy

    If you feel your site source code is valid but Facebook’s parsers are failing can you please post a sample URL you feel should not be causing any errors?

    On my second sited, I deleted the Music Pro Theme and activated the Twenty Eleven Theme that comes with WordPress.
    I created a post, and did not receive the Multiple url error, The post did appear on my Facebook App, but did not post to my Facebook Wall.
    I then clicked Submit in the App Open Graph and received several errors.
    The post DID appear on my Fan Page with no problems.
    The Facebook Plugin also appears to be causing the site (admin) to run extremely slow, to the point of Time Out errors every time I attempt to change pages, delete or submit a post.
    This does appear to be a Facebook Plugin issue with the Authors Facebook Page, as all test posts I created appeared on my Fan Page immediately.

    Here is the exact error I am getting:
    Failed posting to your Facebook Timeline. Error: {“message”:”Object at URL ‘http://www.chavimalkaphotography.com/testing-this-again/’ of type ‘article’ is invalid because it specifies multiple ‘og:url’ values: http://www.chavimalkaphotography.com/testing-this-again/, http://www.chavimalkaphotography.com/testing-this-again/.”,”type”:”Exception”}

    I would really appreciate any possible solution.
    I mentioned plugin details in a previous post & wanted to add that I never got the wordpress authenticate with facebook message in my dashboard.

    My website is hosted on GoDaddy http://www.louisprimajr.com
    MySQL 5.0 PHP 5.3
    I created a separate WordPress Database http://www.louisprimajr.com/NewMPWordPress/
    I uploaded themeforest.com theme Music Pro 2.7.1
    There are Social Share buttons within this theme.
    I disabled the Social Share Buttons in the Theme Dashboard.
    I have no plugins associated with this WordPress.
    I installed the Facebook Plugin, and carefully followed the instructions again. The Facebook App is “LouisPrimaJr”
    I did the test post http://louisprimajr.com/NewMPWordPress/?p=14
    I again received the following error.

    Failed posting to your Facebook Timeline. Error: {“message”:”Object at URL ‘http://louisprimajr.com/NewMPWordPress/?p=14’ of type ‘article’ is invalid because it specifies multiple ‘og:url’ values: http://louisprimajr.com/NewMPWordPress/?p=14, http://louisprimajr.com/NewMPWordPress/?p=14.”,”type”:”Exception”}

    The WordPress Post DID appear on my Facebook Fan Page http://www.facebook.com/louisprimajr.witnesses.sarahspiegel
    But did not appear on my Facebook Timeline http://www.facebook.com/louisprimajr

    I am leaving the test post on the secondary WordPress that I listed above.

    debug info From Social Plugin
    {“appid”:”332014596880589″,”version”:”1.0″,”domain”:”louisprimajr.com”,”social_publisher”:{“enabled”:”true”,”publish_to_authors_facebook_timeline”:”true”,”publish_to_fan_page”:{“page_name”:”Louis Prima, Jr. and the Witnesses featuring Sarah Spiegel”,”page_id”:”121930597859488″},”mentions_show_on_homepage”:”true”,”mentions_position”:”both”},”recommendations_bar”:{“trigger”:”50″,”read_time”:”20″,”action”:”like”,”side”:”right”},”subscribe”:{“layout”:”standard”,”width”:”450″,”colorscheme”:”light”,”font”:”lucida grande”,”position”:”both”},”comments”:{“num_posts”:”20″,”width”:”470″,”colorscheme”:”light”},”send”:{“colorscheme”:”light”,”font”:”lucida grande”,”position”:”both”},”wp_ver”:”3.4″}

    debug info from Facebook App
    Open Graph Warnings That Should Be Fixed

    Tiny og:image: All the images referenced by og:image must be at least 200px in both dimensions. Please check all the images with tag og:image in the given url and ensure that it meets the minimum specification.
    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 property =>content pairs that were not seen in the parsed result: ‘og:locale:locale => en_US, og:type => website, og:title => NewMPWordPress’

    Raw Open Graph Document Information

    Meta Tag: <meta property=”og:title” content=”Home | NewMPWordPress” />
    Meta Tag: <meta property=”og:site_name” content=”NewMPWordPress” />
    Meta Tag: <meta property=”og:url” content=”http://louisprimajr.com/NewMPWordPress/” />
    Meta Tag: <meta property=”og:image” content=”http://louisprimajr.com/NewMPWordPress/wp-content/themes/musicpro/images/bd_fbimage.jpg” />
    Meta Tag: <meta property=”og:type” content=”article” />
    Meta Tag: <meta property=”og:locale” content=”en_US” />
    Meta Tag: <meta property=”og:site_name” content=”NewMPWordPress” />
    Meta Tag: <meta property=”og:type” content=”website” />
    Meta Tag: <meta property=”og:title” content=”NewMPWordPress” />
    Meta Tag: <meta property=”og:description” content=”Just another WordPress site” />
    Meta Tag: <meta property=”fb:app_id” content=”332014596880589″ />

    This is my last cry out for help. I would truly like to use this plugin to simplify my postings. I have read almost every single support topic, and tried several of them, but nothing works. Anything that is needed from me, I can provide, but PLEASE HELP!

    Plugin Author Niall Kennedy

    @niallkennedy

    ChaviM: You have two groups of Open Graph protocol property sets defined on your test page including a set wrapped in AL2FB OGP comments: likely Add Link to Facebook. Only one set is needed unless you are intentionally outputting array values such as og:image.

    Plugin Author Niall Kennedy

    @niallkennedy

    llprimajr: It looks like some other component of your WordPress installation is outputting Open Graph protocol values before the Facebook plugin or even the wp_head action used by many plugins to add markup within a theme’s <head>. Music Pro and the BrutalDesign framework are most likely the cause due to the proximity of the first set of Open Graph protocol definitions to its generator outputs.

    Take a look at your test post‘s source code by loading the page in your browser then finding a “View Source” option in your browser’s menu (sometimes it is under a “Developer” submenu).

    Starting on line 5 of your page I see:

    <meta name="generator" content="MusicPro 2.7.1" />
    <meta name="generator" content="BrutalDesign Framework 1.1" />
    <meta property="og:title" content="Testing Facebook Plugin 12 | NewMPWordPress" />
    <meta itemprop="name" content="NewMPWordPress">
    <meta itemprop="image" content="http://louisprimajr.com/NewMPWordPress/wp-content/themes/musicpro/images/bd_fbimage.jpg" />
    <meta property="og:site_name" content="NewMPWordPress" />
    <meta property="og:url" content="http://louisprimajr.com/NewMPWordPress/?p=14" />

    Music Pro is a premium theme with its own framework and source code not available for inspection for conflicts. Based on the placement of this markup I’m guessing Music Pro generates Open Graph protocol markup from your theme’s header very early on the page and separate from a typical plugin flow. They are trying to trigger both Schema.org markup and Open Graph protocol markup in the same block.

    Lower down in your page markup you will notice output from the Facebook plugin starting at line 45.

    <link rel='canonical' href='http://louisprimajr.com/NewMPWordPress/?p=14' />
    <meta property="http://ogp.me/ns#locale" content="en_US" />
    <meta property="http://ogp.me/ns#site_name" content="NewMPWordPress" />
    <meta property="http://ogp.me/ns#type" content="article" />
    <meta property="http://ogp.me/ns#url" content="http://louisprimajr.com/NewMPWordPress/?p=14" />

    Social sharing buttons are typically graphics displayed after post content encouraging a reader to share an article on one or more social sharing sites. It’s different from the markup used to summarize the story on each site. If the Music Pro theme and/or BrutalDesign framework does not have an option to disable their automatic markup output then it will be in conflict with other plugins such as Facebook outputting more complete and accurate values for your post.

    Brutal Design has its own forum for theme issues.

    Thank You, I have contacted Brutal Design for help. As I stated, I disabled all Social Share add ons thru the Music Pro Dashboard. I did not see anything in the Footer.php or the sidebar (as suggested in another thread)
    If you can give me an idea of what type of coding I am looking for in the editor in case Brutal Design does not reply soon, I can delete it myself and see if it works.

Viewing 15 replies - 1 through 15 (of 38 total)
  • The topic ‘[Resolved] Failed Posting To Your Facebook Timeline "Multiple 'og:url'values"’ is closed to new replies.