开发者

Facebook sharing feature on seam

Good morning all.

I'm developing a web application, using Seam.

I have the following problem:

I have my site with Locale set to "en". I'm trying to share a specific page: ../pt/news.xhtml?id=8 The first portion of this url (/pt/) "tells" the webserver that the article displayed on news.xhtml page with id=8 must be in portuguese. To do that, on my pages.xml, i'm capturing this view and applying the Locale ("pt" in this case).

if i access the link ../pt/ne开发者_StackOverflow社区ws.xhtml?id=8 directly from a browser, the page is showned in portuguese, but if share this page on facebook, the content displayed on facebook popup it's in english.

Does anyone knows what is happening?

Thanks in advance


I would run the URL thru the linter tool at: https://developers.facebook.com/tools/debug and ensure that it is reading your OG tags correctly. Be sure to specify the og:locale correctly doe the language you want it to pick it up as.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜