Update Facebook Open Graph meta tag through JavaScript

后端 未结 3 990
一生所求
一生所求 2020-12-09 16:37

I\'m trying to update the meta content of the Facebook\'s Open Graph title. I updated the content, but when it published the feed, it\'s still pulling the old information. <

3条回答
  •  醉梦人生
    2020-12-09 16:58

    The meta tags are read by Facebook when shared (liked, etc.), so the JavaScript code might not work. You can test using the online debugger.

提交回复
热议问题