我在 Facebook 上有一个带有安全 Canvas URL 的应用程序(尚未发布)。
我通过以下方式邀请 friend :
FB.ui({method: 'apprequests', message: message, to: ids, onInvite);
我可以传递给该函数的 ID 数量是否有限制?
我在 facbook 文档中看到了大约 20-50 个限制,具体取决于浏览器。
据我了解,该限制是由于 Facebook 的 SDK 使用 GET 请求造成的,有没有办法摆脱该限制?
最佳答案
官方Requests Dialog documentation规定请求接收者的最大数量为 50:
By default, the sender is presented with a multi-friend selector allowing them to select a maximum of 50 recipients.
URL 限制仅适用于较旧版本的 Internet Explorer,用于非 iframe 版本的对话框(即:弹出窗口)
Note: Due to URL length restrictions, the maximum number of recipients is 25 in Internet Explorer 7 or 8 when using a non-iframe dialog.
关于javascript - Facebook JavaScript SDK : Friend Invitations Limit,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28684845/