I have added this tab in my page但我无法向朋友发送邀请。它不起作用!!为什么? 我使用过这段代码:
<?php $url_inc="<fb:req-choice url='http://facebook.com/Anti.Social.Development' label='Partecipa' />"; ?>
<center>
<fb:fbml>
<fb:request-form
action="index.php"
method="POST"
invite="true"
type="InvitoSpeciale"
content="Ti invito <?php echo htmlentities($url_inc); ?> " >
<fb:multi-friend-selector cols="3" rows="3" showborder="false" actiontext="Invita i tuoi amici.">
<fb:request-form-submit />
</fb:request-form>
</fb:fbml>
</center>
<fb:share-button class="meta">
<meta name="medium" content="mult"/>
<meta name="title" content="name of fan page"/>
<meta name="description" content="description of fan page"/>
<link rel="image_src" href="url to image location" />
<link rel="target_url" href="http://facebook.com/Anti.Social.Development"/>
</fb:share-button>
答案 0 :(得分:0)
Hello Senior,因为我知道你正在关闭额外的一个“&gt;”在您的内容标题后括起来。 对我来说,以下代码可以正常工作
<fb:serverFbml width="760px"> <script type="text/fbml"> <fb:fbml> <fb:request-form action='http://apps.facebook.com/yoursite/' method='POST' type='photo fun' content="Let's fun with facebook <fb:req-choice url='http://www.yoursite.com' label='Register'/>" <fb:multi-friend-selector actiontext="Select your friends."></fb:multi-friend-selector> </fb:request-form> </fb:fbml> </script> </fb:serverFbml>