Facebook 多好友选择器始终显示电子邮件邀请部分
我设法让 fb:multi-friend-selector 工作。然而,在选择朋友并向他们发送邀请后,会出现一个弹出窗口“可选:也发送给电子邮件联系人吗?”显示我不想要的。
根据 http://developers.facebook.com/docs 上的文档/reference/fbml/multi-friend-selector 有一个 email_invite 标志,指示是否应显示此弹出窗口。
对我来说,无论我设置 email_invite="true" 还是 email_invite="false",它总是显示。
有人知道如何摆脱这个弹出窗口吗?
下面是我生成的代码:
<fb:serverfbml>
<script type='text/fbml'>
<fb:request-form
action="http://example.com"
content="Your friend invites you to Test site <fb:req-choice label="Accept" url="http://example.com/" />"
invite="true"
method="post"
type="Test site">
<fb:multi-friend-selector
actiontext="Invite your friends to Test site"
bypass="cancel"
condensed="false"
email_invite="false"
exclude_ids=""
max="20"
showborder="true" />
</fb:request-form>
</script>
</fb:serverfbml>
I managed to get fb:multi-friend-selector working. However after choosing friends and sending invitations to them there is a popup "Optional: also send to email contacts?" displayed which I don't want.
According to the documentation at http://developers.facebook.com/docs/reference/fbml/multi-friend-selector there is a email_invite flag indicating whether this popup should be displayed or not.
For me it's always displayed no matter if I set email_invite="true" or email_invite="false".
Anyone knows how to get rid of this popup?
Below is the code I generate:
<fb:serverfbml>
<script type='text/fbml'>
<fb:request-form
action="http://example.com"
content="Your friend invites you to Test site <fb:req-choice label="Accept" url="http://example.com/" />"
invite="true"
method="post"
type="Test site">
<fb:multi-friend-selector
actiontext="Invite your friends to Test site"
bypass="cancel"
condensed="false"
email_invite="false"
exclude_ids=""
max="20"
showborder="true" />
</fb:request-form>
</script>
</fb:serverfbml>
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我遇到了同样的问题并添加了参数以删除弹出窗口:
email_invite=false
import_external_friends=false
即。
I had the same problem and added the parameters to remove the popup :
email_invite=false
import_external_friends=false
ie.