fb:multi-friend-selector 是否已弃用?
我的网站中有一个页面邀请 Facebook 朋友使用我的网站,代码是非常标准的东西
<fb:serverFbml style="width: 755px;">
<script type="text/fbml">
<fb:fbml>
<fb:request-form ....
<fb:req-choice />
>
</fb:request-form>
<fb:multi-friend-selector .../>
</fb:fbml>
</script>
</fb:serverFbml>
据我所知,因为我包含 FB JS SDK,它解释 XFBML 标签并包含相同的相应 html (由浏览器解释)。
我听说 FBML 已被弃用。我假设这不会影响 XFBML 标签,rt?有人可以确认一下吗?我很困惑,因为所有这些标签都已列在 FB 文档中的高级主题 › 旧版 FBML › fb:serverFbml 下。
我在其他各个页面中也有其他标签,例如
我应该将它们迁移到 HTML 等效项吗?
有一些关于如何执行此操作的文档吗?非常感谢您的任何意见,
谢谢。
I have a page in my website to invite Facebook friends to use my website and the code is pretty standard stuff
<fb:serverFbml style="width: 755px;">
<script type="text/fbml">
<fb:fbml>
<fb:request-form ....
<fb:req-choice />
>
</fb:request-form>
<fb:multi-friend-selector .../>
</fb:fbml>
</script>
</fb:serverFbml>
As far as what I understand, because I am including FB JS SDK, it interprets the XFBML tags and includes the appropriate html for the same (which is interpreted by the browser).
I hear that FBML is being deprecated. I am assuming that this will not affect the XFBML tags, rt? Can someone please confirm? I am confused because all these tags have been listed in FB documentation under Advanced Topics › Legacy FBML › fb:serverFbml.
I also have other tags in various other pages like <fb:profile-pic>, <fb:name>, <fb:title>, <fb:iframe>, <fb:google-analytics>
Should I be migrating them to their HTML equivalent?
Is there some documentation on how to go about doing this? Any inputs is highly appreciated
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
fb:multi-friend-selector
从来没有 XFBML 版本,只有 FBML,这是不一样的,因为 FBML 仅适用于应用程序画布,并且仅适用于使用 FBML(而非 iframe)的应用程序引用自 FBML 文档
更新:
您仍然可以将其与 JavaScript SDK 的
FB.XFBML.parse
方法一起使用。在您的情况下,您应该将
fb:multi-friend-selector
移至fb:request-form
内(如fb:request-form
文档。但我强烈建议使用
请求对话框
使用JavaScript SDK而不是FBML标签更新2:
虽然尚未正式确认,但我会让自己对此进行一些推测。在 2012 年 6 月 1 日之后,可能所有 FBML 标签都将被删除,并且 JS-SDK 将不再解析
fb:serverFbml
。你可以尝试在 Quora 上询问这个问题(有一个很大的改变,以获得一位官员的回应
fb:multi-friend-selector
never had XFBML versions but only FBML which isn't the same since FBML only works in application canvas and only for apps that use FBML (not an iframe)Cite from FBML documentation
Update:
You still can use it with
FB.XFBML.parse
method of JavaScript SDK.In your case looks like you should move
fb:multi-friend-selector
to be withinfb:request-form
(like it shown onfb:request-form
documentation.But I strongly suggest using
Requests Dialog
with JavaScript SDK instead of FBML tagsUpdate 2:
While not officially confirmed (yet) I'll allow myself to speculate on this a bit. Probably every FBML tags will be removed and
fb:serverFbml
will not be parsed by JS-SDK after June 1, 2012.You can try to ask about this on Quora (with a big change to get response from one of officials