代码如下:
<fb:serverFbml width="650" "margin-left: 10px;" >
<script type="text/fbml">
<fb:fbml>
<fb:request-form
action= "<?=$action?>"
target= "<?=$target?>"
method= "<?=$method?>"
invite= <?=$invite?>
type= "<?=$type?>"
label = "<?=$label?>"
content="<?=$content?>"
exclude_ids = "12312345,2345235"
>
<fb:multi-friend-selector showborder="false" actiontext= "Invite your friends" rows="5" cols="5" bypass="skip" target="_top" />
</fb:request-form>
</fb:fbml>
</script>
</fb:serverFbml>一切都渲染得很好,但是FBML没有排除参数exclude_ids中提到的IDS,并且它在朋友选择器的普通版本和压缩版本中都不起作用。有没有人能帮我修一下?
发布于 2011-02-24 17:27:36
编辑:
实际上我只是发现了你的错误,你把exclude_ids放在了请求表中,而不是多好友选择器:
<fb:multi-friend-selector showborder="false" actiontext= "Invite your friends" rows="5" cols="5" bypass="skip" target="_top" exclude_ids="121212232,233423423" />
我相信你犯了我之前犯过的同样的错误,这些ids (12312345,2345235)看起来不像facebook的did,它们太低了。
当我在数据库中将uid作为一个整数引入时,我也遇到了同样的问题,uid不适合一个整数,它们会得到一个存储fb uid的corrupted.For,您需要一个BigInteger。
https://stackoverflow.com/questions/5102644
复制相似问题