Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Locales for facebook are not correct #143

Closed
kevinmu17 opened this issue Sep 26, 2018 · 0 comments
Closed

Locales for facebook are not correct #143

kevinmu17 opened this issue Sep 26, 2018 · 0 comments
Labels
Milestone

Comments

@kevinmu17
Copy link

Description

when debugging with: https://developers.facebook.com/tools/debug/og/object/

I am getting this error:
Object at URL 'https://sitename.nl/' of type 'website' is invalid because the given value 'nl-nl' for property 'og:locale:locale' could not be parsed as type 'enum'.

I think the problem lies in the "-" and should be transformed to "_" (dash to underscore)
https://developers.facebook.com/docs/messenger-platform/messenger-profile/supported-locales/

Steps to reproduce

  1. install SEO plugin, add {% hook 'seo' %} to your twig template
  2. insert your site url in https://developers.facebook.com/tools/debug/og/object/

Additional info

  • Craft version: 3.0.25
  • SEO version: 3.4.4
  • PHP version: 7.1.21
  • Database driver & version: MySQL 10.1.35
  • Other Plugins: N/A
@Tam Tam added the bug label Sep 26, 2018
@Tam Tam added this to the 3.5.0 milestone Jan 16, 2019
@Tam Tam closed this as completed in 3a34ce6 Jan 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants