0
是否有構建自定義請求對話框以及發送所選用戶標識和應用請求的方式。我不想使用多朋友選擇器表單。構建應用內請求對話框
是否有構建自定義請求對話框以及發送所選用戶標識和應用請求的方式。我不想使用多朋友選擇器表單。構建應用內請求對話框
這裏的這個功能應該爲您提供向一個人發送請求的能力。
<script>
function sendFriendInvite(message,title,to,data){
FB.ui({method: 'apprequests',
to: to,
message: message,
title: title,
data: data
},
function(response) {
if (response && response.request_ids) {
//Sent!
} else {
//Not Sent
}
});
}
</script>
<a onclick="sendFriendInvite('Here is an invite','Send to Invite to Friend', 123456);">Send request to friend 123456</a>