Showing popup in the new FB JS SDK

Posted by FearUs on Stack Overflow See other posts from Stack Overflow or by FearUs
Published on 2010-04-26T12:25:44Z Indexed on 2010/04/29 15:37 UTC
Read the original article Hit count: 454

HI,

I used to have an Href in my website, when users clicked on it, multi friend selector showed so they can incite their friends to my website. That was done using the following code:

 FB.ensureInit(function() {
        var dialog = new FB.UI.FBMLPopupDialog('XXXXXXX', '');
        var fbml = 'Multi-Friend-Selector FBML'
        dialog.setFBMLContent(fbml);
        dialog.setContentWidth(620);
        dialog.setContentHeight(570);
        dialog.show();
    });

Now, I'm using the new JS SDK (http://connect.facebook.net/en_US/all.js), but the old methods are not present... How can I do it with the new SDK ??

© Stack Overflow or respective owner

Related posts about facebook

Related posts about facebook-connect