1
我正在顯示使用multi-friend-selector element,它起作用。但是我希望能夠在對話框打開時預先選擇一些朋友,並且我不知道API是否允許這樣做。至少,沒有在文檔中列出。fb中的預填充朋友ID:多朋友選擇器
我的代碼
<fb:request-form
action='{{iframe_url}}/reqs'
method='POST'
content='Sending a request'>
<input type='hidden' fb_protected='true' name='friend_id' value='{{facebook_id}}'/>
<input type='hidden' fb_protected='true' name='req' value='{{req_type}}'
<fb:multi-friend-selector
actiontext='Select the friends you want to send this request'
rows='3'
showborder='true'
email_invite='false'
exclude_ids='{{excluded_friends}}'>
</fb:multi-friend-selector>
</fb:request-form>"
我使用標籤prefill_ids
嘗試,但它似乎並不做任何效果。
PD:另外,它似乎忽略了email_invite
選項。