fb:多朋友选择器 except_ids 不起作用,显示所有朋友

发布于 2024-10-19 03:49:31 字数 784 浏览 1 评论 0 原文

这是代码:

<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 没有排除参数 exclu_ids 中提到的 IDS,并且它在朋友选择器的普通版本和压缩版本中都不起作用。谁能帮我解决这个问题吗?

This is the code:

<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>

Everything is being rendered fine, but the FBML is not exluding the IDS mentioned in the parameter exclude_ids, and it is not working in both the normal as well as condensed version of friend selector. Can anyone please help me fix it ?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

旧故 2024-10-26 03:49:31

编辑:

实际上我刚刚发现了您的错误,您将 except_ids 放在请求表单中,而不是多朋友选择器中:


我相信你犯了和我之前犯的同样的错误,那些id(12312345,2345235) 看起来不像 facebook uids,它们太低了。

当我在数据库中将 uids 作为整数引入时,我遇到了同样的问题,uids 不适合整数并且它们会损坏。要存储 fb uid,您需要一个 BigInteger。

EDIT:

Actually I just found your error, you put the exclude_ids in the request form and not the multi-friend-selector:

<fb:multi-friend-selector showborder="false" actiontext= "Invite your friends" rows="5" cols="5" bypass="skip" target="_top" exclude_ids="121212232,233423423" />


I believe you made the same error I did before, those ids (12312345,2345235) doesnt look like facebook uids, they are too low.

I had the same problem when I introduced the uids as an integer in the database, the uids doesn't fit in an integer and they get corrupted.For storing a fb uid you need a BigInteger.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文