Support » Plugin: Facebook » Failed Posting To Your Facebook Timeline "Multiple 'og:url'values"

Viewing 15 replies - 16 through 30 (of 38 total)
  • llprimajr

    (@llprimajr)

    Sorry, I meant header.php, but I did look elsewhere as well

    ChaviM

    (@chavim)

    Thanks for the reply.
    I actually just added the “add a link” plugin this afternoon – after getting the message & after posting here.
    The only plugins I had at the time of the error were the ones listed above.
    (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)
    Where can I find the Open Graph protocol property sets, so that I can remove one set?
    Can the prophoto theme be adding it in?

    Plugin Author Niall Kennedy

    (@niallkennedy)

    ChaviM: the Facebook plugin outputs Open Graph protocol properties with a base URL followed by the property name (http://ogp.me/ns#url) instead of the prefixed shortcut (og:url).

    On your sample URL I see two blocks of Open Graph protocol output, both with the prefixed shortcut approach (og:url) and therefore likely not output by the Facebook plugin.

    The first set appears directly above a wp_head() elements wrapper. It’s possible your theme is outputting these values outside of a plugin flow, possibly related to your Facebook flyout on the left side of your page.

    The second set is wrapped in AL2FB comments, indicating it’s coming from that plugin.

    If you remove AL2FB you should be down to one set.

    Plugin Author Niall Kennedy

    (@niallkennedy)

    llprimajr: look at the top of your header.php file near <meta charset="UTF-8" />.

    I expect you might see some PHP calling into a theme or function between your charset and your page <title>.

    llprimajr

    (@llprimajr)

    This is what I have

    <!DOCTYPE html>
    <html <?php language_attributes(); ?>>
    <head>
    <meta charset=”<?php bloginfo( ‘charset’ ); ?>” />
    <?php bd_meta_head(); ?>
    <link rel=”shortcut icon” href=”<?php if(get_option(‘mp_favicon’)!=”) echo get_option(‘mp_favicon’); else echo THEME_URL.’favicon.ico’; ?>”>
    <title><?php
    /*
    * Print the <title> tag based on what is being viewed.
    */
    global $page, $paged;

    wp_title( ‘|’, true, ‘right’ );

    // Add the blog name.
    bloginfo( ‘name’ );

    is it the bd_meta_head?? or the blog info

    ChaviM

    (@chavim)

    Thanks again for the response.
    I removed the newly added “add a link” plugin & other tags around the site.
    Apparently – the Facebook debugger is picking up an old FB app id – that has been deleted.
    I don’t know where it is getting it from.
    The only time I entered it on my site was with the first round of testing the Facebook plugin.

    This is the debugger response I get for my web homepage:
    (note the there is a facebook app id by property values – which links back to a deleted FB app. – The new app id is in the meta data.

    Also, will addnig the facebook plugin re-add the extra open graph tags?

    Input URL, Access Token, or Open Graph Action ID
    Scrape Information
    Response Code: 200
    Fetched URL: http://www.chavimalkaphotography.com/
    Canonical URL: http://www.chavimalkaphotography.com/
    Open Graph Warnings That Should Be Fixed
    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:image:url => http://www.chavimalkaphotography.com/wp-content/uploads/p4/images/logo_1339117203.png, fb:app_id => 199931010133472′
    Object Properties
    fb:app_id: 409321859106305
    og:url: http://www.chavimalkaphotography.com/
    og:type: website
    og:title: Chavi Malka Photography
    og:locale: en_us
    og:image:
    og:description: Custom Newborn, Children, Family Photographer | Great Neck, Manhassest, Port Washington, Five Towns, Lawrence, Far Rockaway, Long Island, New York | Chavi Malka Photography
    og:site_name: Chavi Malka Photography
    og:updated_time: 1340398215
    Raw Open Graph Document Information
    Meta Tag: <meta property=”og:site_name” content=”Chavi Malka Photography” />
    Meta Tag: <meta property=”og:type” content=”website” />
    Meta Tag: <meta property=”og:title” content=”Chavi Malka Photography” />
    Meta Tag: <meta property=”og:url” content=”http://www.chavimalkaphotography.com/” />
    Meta Tag: <meta property=”og:description” content=”Custom Newborn, Children, Family Photographer | Great Neck, Manhassest, Port Washington, Five Towns, Lawrence, Far Rockaway, Long Island, New York | Chavi Malka Photography” />
    Meta Tag: <meta property=”og:image” content=”http://www.chavimalkaphotography.com/wp-content/uploads/p4/images/logo_1339117203.png” />
    Meta Tag: <meta property=”fb:app_id” content=”199931010133472″ />
    URLs
    Graph API: https://graph.facebook.com/10150874724391523
    Scraped URL: See exactly what our scraper sees for your URL

    llprimajr

    (@llprimajr)

    @naill I removed
    <?php bd_meta_head(); ?>
    And the error went away, and the site seems to be functioning properly.
    To those having a similar issue. Removing the the theme (in this case bd) php meta pull seems to work.
    HOWEVER!
    After my test post, I returned to the open graph to click SUBMIT as the instructions state. When I click Submit I receive the following error:

    Built-in Action Types require that you provide instructions for using your app’s Open Graph integration as your Open Graph Test User in a functioning test environment. Failure to provide a functioning test environment will result in rejection of your Action Type.

    I cannot find instructions on this anywhere, and cannot even find a place to enter anything.

    Can you please tell me how to proceed.

    I should note, that the post appears in my activity stream, but is not posted to my timeline. The post DOES appear on my fan page timeline, so we are getting close.

    llprimajr

    (@llprimajr)

    OK, I figured out how to add information.
    Am awaiting approval.

    ChaviM

    (@chavim)

    I just reinstalled the FB plugin & tried again.
    got this error again:
    Failed posting to your Facebook Timeline. Error: {“message”:”Object at URL ‘http://www.chavimalkaphotography.com/test-fb-app/’ of type ‘article’ is invalid because it specifies multiple ‘og:url’ values: http://www.chavimalkaphotography.com/test-fb-app/, http://www.chavimalkaphotography.com/test-fb-app/.”,”type”:”Exception”}

    ChaviM

    (@chavim)

    I just wanted to add that if I remove the facebook plugin, all warnings / errors disappear.
    Apparently it is the Facebook plugin that is causing the problems…
    Please please help!

    llprimajr

    (@llprimajr)

    @chavim
    Read through my posts, and @niall responses.
    If you are using a purchased theme, the theme is pushing php info, prior to the Facebook Plugin, that is creating the error of Multiple Url.
    Read through my posts and the replies and see if that helps.

    ChaviM

    (@chavim)

    @llprimajr
    Thanks – I contacted ProPhoto (my theme is through them) for them to help remove the additional OG values.

    Plugin Author Niall Kennedy

    (@niallkennedy)

    ChaviM: I still see “AL2FB OGP” markup on your pages. You may need to clear your site cache to reflect your changes.

    ChaviM

    (@chavim)

    @niall Kennedy
    Ok – I just deactivated the add a link plugin again & activated the Facebook plugin.

    mikeotgaar

    (@mikeotgaar)

    Agreed: “Facebook” conflicts with other open graph systems, theme and plugin and produces duplicate og data.
    Installed to test after reading the reports. If I may ofer my opinion, It’s got a lot of potential (and has clearly taken a lot of work) – I’d use it if it could integrate better with existing og plugins, including social graph protocol – de-hook the duplicated features.
    But it also needs more og meta customisation – og-image, og-contact and og-location fields etc.
    I don’t use post images for og Facebook shares – they are in a separtae public folder as any other images are in protected folders.
    Authing with Facebook apps was easy – no problems there, and no problems instaling and activating
    Looking forward to seeing how this plugin develops over time

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