我有一个支持少量语言的网站。页面根据浏览器设置检测并显示相应的语言(用户也可以选择所需的语言)。
现在我喜欢与Facebook分享这个网站。 根据Fb文档,我需要为所需语言设置许多元字段。
我怎样才能检测到Facebook试图抓取我的网站的语言?我试图使用query的fb_locale参数,但似乎没有用所需语言传递这个参数。
有什么想法吗?
答案 0 :(得分:1)
According to Fb documentation i need to set a number of meta fields for needed language.
This was never available for normal posts/shares in the first place, only for Open Graph stories - and for those it has been removed with API version 2.8, too.
https://developers.facebook.com/docs/apps/changelog#v2_8_deprecations
There is no way any more to do what you want.