【问题标题】:how we can limit the send requests using sendRequestViaMultiFriendSelector through facebook Api我们如何通过 facebook Api 使用 sendRequestViaMultiFriendSelector 限制发送请求
【发布时间】:2012-04-19 10:53:34
【问题描述】:

请查看此链接,http://developers.facebook.com/docs/reference/dialogs/requests/,我使用它通过对话框 sendRequestViaMultiFriendSelector 使用 facebook api 发送请求,现在我只想限制最多 4 人,以便我们可以发送最多 4 人的请求。

【问题讨论】:

    标签: php facebook facebook-graph-api


    【解决方案1】:

    在您在问题中链接的同一页面中,底部有一个可用于此特定对话框的可能参数表。 其中一个参数是 *max_recipients* 参数,它说:

    一个整数,指定最大好友数 由用户在朋友选择器中选择。这个参数不是 支持移动设备。

    所以基本上:

    FB.ui({
        method: "apprequests",
        message: "Hey, come see this app",
        max_recipients: 4
    }, requestCallback);
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2011-06-04
      • 1970-01-01
      • 2011-12-30
      • 2020-09-09
      • 1970-01-01
      • 2016-04-05
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多