How to implement internationalization of OG-Tags?

后端 未结 2 1640
刺人心
刺人心 2020-12-28 10:55

for an upcoming project we wanna translate our app to multiple languages. Having a look at Facebook\'s How-To: Open Graph Internationalization page, you get very detailed in

2条回答
  •  没有蜡笔的小新
    2020-12-28 11:18

    I answered my own question: here

    You have to refresh the cache of facebook.

    curl -X POST -F "id=http://yoururl" -F "scrape=true" -F "locale=fr_fr" "https://graph.facebook.com" -s
    

    (in my example, I used fr_fr)

提交回复
热议问题