私は次のような方法ユーザーがFacebookのアプリケーションリクエストを受け入れたかどうかを確認するにはどうすればよいですか?
function sendRequest() {
FB.ui({method: 'apprequests',
message: 'You have received a pretty image from a friend.',
data: 'some tracking info',
title: 'Select friends to send your image to.'}, function (response) {
if (response && response.request_ids) {
$(function(){
//get friends who accepted the request
} else {
//Do something if they don't send it.
}
})
}
を使用して私のアプリのリクエストを送信するには、しかし、私は、任意の友人が要求を受け入れたかどうかを確認する方法は考えていますか? これを行うにはどうすればいいですか? また、ユーザーがリクエストを受け入れると通知を受け取りたいのですが...どうすれば実現できますか?