본을 편집해야하지만, 여기에 광주 과학 기술원의 것 :
popupInviteFriends 다음의 경우 기능 (전자) { (전자) {e.preventDefault(); }
var fbml = '<fb:request-form \
action="." \
method="GET" \
invite="true" \
type="TWO" \
content="This is an invitation from ' + TWOFace.BRAND + '. \
<fb:req-choice url=\'' + TWOFace.INVITE_DIALOG.postBack + '\' \
label=\'Join ' + TWOFace.BRAND + '\' />"> \
<fb:multi-friend-selector \
showborder="false" \
rows="4" \
actiontext="Invite your friends to use ' + TWOFace.BRAND + '"> \
</fb:multi-friend-selector> \
</fb:request-form';
var container = document.createElement('div');
container.innerHTML = fbml;
var inviteIFrame = new FB.UI.PopupDialog(TWOFace.INVITE_DIALOG.title, container);
inviteIFrame.setContentWidth(590);
inviteIFrame.setContentHeight(400);
inviteIFrame.show();
},