我有以下代码显示请求对话框。该函数将请求发送给我选择的用户,但问题是它没有返回选定的用户IDS
$('#request_btn').click(function(){send_request()});
function send_request()
{
var message = 'Bla Bla';
var title = 'Bla Bla'
FB.ui({
method: 'apprequests',
message: message,
title: title,
max_recipients: 20
},
function (response)
{
if (response && response.request_ids)
{
alert('success')
}
});
return false;
}