开发者

fb:multi-friend-selector exclude_ids not working, showing all friends

This is the code:

<fb:serverFbml width="650" "margin-left: 10px;" >
        <开发者_Python百科;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 ?


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜