Ready to get started?Download WordPress


WP Facebook Open Graph protocol
[resolved] Typo in og:locale? (3 posts)

  1. Hannes
    Posted 1 year ago #

    I was debugging one the sites where I use the "WP Facebook Open Graph protocol" plug-in and I got this error: "Object at URL 'http://thjonandiforysta.is' of type 'website' is invalid because the given value 'en-us' for property 'og:locale:locale' could not be parsed as type 'enum'."


    I think it's supposed to be "en_US" and not "en-us" like it is now. Also, it would be nice if there was an option to change this, for websites that are not written in English.


  2. Chuck Reynolds
    Plugin Author

    Posted 1 year ago #

    In the past this is because a default UTC timezone is set and not one of the locations in general settings. I don't add the actual letters for locale - that pulls from WP core. Try setting an actual location in wp settings.

  3. Hannes
    Posted 1 year ago #

    I changed the timezone to Reykjavik and it still says <meta property="og:locale" content="en-us"/>

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic