Facebook sharing feature on seam

Good morning.

I am developing a web application using Seam.

I have the following problem:

I have my site with Locale set to "en". I am trying to share a specific page: ../ pt / news.xhtml? Id = 8 The first part of this url (/ pt /) "tells the web server that the article displayed on the news.xhtml page with id = 8 should be on Portuguese: For this, on my .xml pages, I do this presentation and use Locale ("pt" in this case).

if I access the link .. /pt/news.xhtml?id=8 directly from the browser, the page is displayed in Portuguese, but if you share this page on facebook, the content displayed on facebook appears in English.

Does anyone know what is going on?

Thanks in advance

+3
source share
1 answer

I run the URL through the linter tool at https://developers.facebook.com/tools/debug and make sure it reads your OG tags correctly. Remember to specify the correct version of og: locale, the language you want to raise it to.

0
source

Source: https://habr.com/ru/post/1728445/


All Articles