gpt4 book ai didi

html - XFBML 是否被弃用?

转载 作者:搜寻专家 更新时间:2023-10-31 22:08:39 25 4
gpt4 key购买 nike

据 Facebook 称,FBML 已被弃用,并将于 2012 年 7 月 5 日删除,如引述 here .

这不是 this question 的副本因为我指的是 XFBML 而不是 FBML。

我的问题很简单,由于 FBML 被弃用,这是否意味着 XFBML 也被弃用了?

我问这个是因为我正在使用诸如评论社交插件之类的插件,它混合使用了 XFBML 和 iframe。我是否应该将所有这些插件改为使用 iframe 或 HTML5?还是 XFBML 与 FBML 无关?

提前致谢

最佳答案

嗯,xfbml 更像是 HTML + FBMl

XFBML 仍然可以使用 Facebook Javascript API 呈现,因此使用 XFBML 不是一个坏主意,但仍然不是最好的主意。

常规的 HTMl 和 javascript 结合 Facebook Javascript API 可以做 XFBML 可以做的一切,而且做得更干净。

仅供引用:https://developers.facebook.com/blog/post/568/

Please Note: Our deprecation of FBML does not impact XFBML (eXtended Facebook Markup Language). XFBML is a set of XML elements that can be included in your HTML pages to display Social Plugins. When your page is loaded, any XFBML elements found in the document are processed by the JavaScript SDK, resulting in the appropriate plugin being rendered on your page. The JavaScript SDK will continue to support XFBML after the deprecation of FBML (save for the fb:serverFbml element which is used to execute FBML on our servers).

关于html - XFBML 是否被弃用?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11206585/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com