javascript - Facebook JavaScript SDK : Friend Invitations Limit

标签 javascript facebook

我在 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/

相关文章:

javascript - 用Java编写Conways Life of Life错误

javascript - Jquery限制文本字段中的文本复制安全

javascript - 无法在 Cypress 中使用skip-test作为自定义命令

javascript - 错误 FB 未定义使用 Angular2 (CLI) 的 Facebook 登录

javascript - 纯函数可以返回 Symbol 吗?

android - 如何将 facebook、twitter 和 google plus 集成到 android 应用程序

iframe - 错误消息 : redirect_uri is not owned by the application

javascript - FB.login 对话框停留在 IE9 的权限上

java - 使用 servlet 的 smack 连接

javascript - Ajax 无法在 Featherlight 中运行