WordPress.org

Support

Support » Plugins and Hacks » WP Facebook Open Graph protocol » [Resolved] [Plugin: WP Facebook Open Graph protocol] Error report at og:locale

[Resolved] [Plugin: WP Facebook Open Graph protocol] Error report at og:locale

  • I’m using WordPress Japanese Ver.

    I installed “WP Facebook Open Graph protocol” and debug on Facebook debug page.

    Then displayed bellow message.

    —-
    Errors That Must Be Fixed

    Object Invalid Value: Object at URL ‘http://job.gokigenworks.com/’ of type ‘website’ is invalid because the given value ‘ja’ for property ‘og:locale:locale’ could not be parsed as type ‘enum’.
    —-

    Bellow line return a string value: <meta property=”og:locale” content=”ja” />
    but, this occurs error.
    > echo “\t<meta property=’og:locale’ content='”.esc_attr( get_locale() ).”‘ />\n”;

    And I edit plugin code directly like this…
    > echo “\t<meta property=’og:locale’ content=’ja_JP’ />\n”;

    It was work fine.

    http://wordpress.org/extend/plugins/wp-facebook-open-graph-protocol/

Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] [Plugin: WP Facebook Open Graph protocol] Error report at og:locale’ is closed to new replies.
Skip to toolbar