Hi, i have a facebook application running in an iframe canvas page. I connect to facebook with facebook connect and now i want that multiple friends selector. But it doesnt appear. I tried a Facebook fanbox - no problem, the fanbox appears correctly. Here is the code of the multipe friend selector:
<fb:serverfbml style="width: 650px;">
<script type="text/fbml">
<fb:fbml>
<fb:request-form action="<url for post invite action, see wiki page for fb:request-form for details>" method="POST" invite="true" type="XFBML" content="This is a test invitation from XFBML test app <fb:req-choice url='see wiki page for fb:req-choice for details' label='Ignore the Connect test app!' /> " >
<fb:multi-friend-selector showborder="false" actiontext="Invite your friends to use Connect."/>
</fb:request-form>
</fb:fbml>
</script>
</fb:serverfbml>
And bevor the /body tag i wrote this code:
<script src="http://static.ak.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php" type="text/javascript"></script>
<script type="text/javascript">
FB_RequireFeatures(['CanvasUtil', 'XFBML'], function(){
FB.XdComm.Server.init("/plugins/facebook-connect-0.1/xd_receiver.htm");
FB.XFBML.Host.autoParseDomTree = false;
FB.CanvasClient.startTimerToSizeToContent();
});
</script>
<script type="text/javascript">
FB_RequireFeatures(["XFBML"], function(){ FB.Facebook.init("my APP KEY", "/plugins/facebook-connect-0.1/xd_receiver.htm"); });
</script>
Can anybody help me out? I'm so confused. Best Regards Stefan