Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个从另一个页面获取内容的叠加层。此页面有一个 Facebook Like 按钮(HTML5 版本)。
在此页面上初始化 Like 按钮的最佳方式是什么?我在加载页面的脚本页面上尝试了一个简单的 FB.init() ,但这似乎不起作用。建议?
好的,明白了,这行得通:
FB.XFBML.parse();