Search code examples
facebookfbmldeprecatedxfbml

Is fb:multi-friend-selector deprecated?


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.


Solution

  • 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