fb:multi-friend-selector是否已弃用? [英] Is fb:multi-friend-selector deprecated?

查看:119
本文介绍了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中列出.

我在其他各个页面中也有其他标签,例如<fb:profile-pic>, <fb:name>, <fb:title>, <fb:iframe>, <fb:google-analytics>,是否应该将它们迁移到与它们等效的HTML?

是否有一些有关如何执行此操作的文档?任何输入均受到高度赞赏

谢谢.

FBML文档中引用

我们不推荐使用FBML . 2012年1月1日:平台将不再支持FBML. 2012年6月1日::FBML应用将不再起作用.所有FBML端点均已删除.如果要在Facebook.com上构建新的应用程序,请使用HTML,JavaScript和CSS实施您的应用程序.您可以使用我们的 JavaScript SDK Requests Dialog 与JavaScript SDK一起使用,而不是FBML标签

更新2:
尽管尚未得到官方确认(但),我还是会对此进行一些推测.在 2012年6月1日之后,JS-SDK可能会删除每个FBML标签,并且fb:serverFbml将不会被JS-SDK解析. 您可以尝试在Quora上询问此问题(进行较大的更改以获得一位官员的回应

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.

解决方案

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

这篇关于fb:multi-friend-selector是否已弃用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆