Showing popup in the new FB JS SDK
- by FearUs
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 ??