0
我已經使用Weebly構建了我的網站,但是當我嘗試將我的網站評論與FB評論關聯時出現問題。我無法解決很長時間,希望任何專家都能給我一些建議。真正感激!如何將當前og:url複製到FB評論的數據href
樣品博客文章:http://www.lifechem.tw/blog/170202
的OG:網址是:
<meta property="og:url" content="http://www.lifechem.tw/1/post/2017/02/170202.html" />
但默認Weebly FB註釋工具是爲http://www.lifechem.tw/blog/170202,而不是當前OG:URL
我已經嘗試其他帖子建議
<script>document.write('<div class="fb-comments" data-href="' + document.location.href + '" data-numposts="7"></div>');</script>
但結果是th與默認的Weebly工具相同。
我想將一個站點範圍的代碼添加到博客頁腳中,該博客頁腳可以在不同博客文章中複製og:url。
真正感謝!
非常感謝!有用!!! ^^ – user3654819