fb:multi-friend-selector 是否已弃用?

发布于 2024-12-23 22:37:12 字数 834 浏览 5 评论 0原文

我的网站中有一个页面邀请 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

烏雲後面有陽光 2024-12-30 22:37:12

fb:multi-friend-selector 从来没有 XFBML 版本,只有 FBML,这是不一样的,因为 FBML 仅适用于应用程序画布,并且仅适用于使用 FBML(而非 iframe)的应用程序

引用自 FBML 文档

我们将弃用 FBML2012 年 1 月 1 日:平台将不再支持 FBML。 2012 年 6 月 1 日:FBML 应用将不再工作。所有 FBML 端点均被删除。如果您要在 Facebook.com 上构建新应用程序,请使用 HTML、JavaScript 和 CSS 实现您的应用程序。您可以使用我们的 JavaScript SDK社交插件,用于嵌入 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

We are deprecating FBML. On Jan 1, 2012: FBML will no longer be supported on Platform. June 1, 2012: FBML apps will no longer work. All FBML endpoints are removed. If you are building a new application on Facebook.com, please implement your application using HTML, JavaScript and CSS. You can use our JavaScript SDK and Social Plugins to embedded many of the same social features available in FBML.

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 within fb:request-form (like it shown on fb:request-form documentation.

But I strongly suggest using Requests Dialog with JavaScript SDK instead of FBML tags

Update 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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文