The Facebook documentation for user-initiated App Request Dialogues says that FB.ui should return a csv list of request_ids that were sent out by the user when they click "Send Request"
I'm totally lost as to when and how to retrieve this list. Do you have to开发者_如何学JAVA bind an event to the "Send Request" button? How can you get back the Request IDs when a user sends out requests?
Thanks so much!
You get the list as soon as the send the requests. You can use ajax to send it to your server if you want:
FB.ui({
         'method':  'apprequests',
         'message': request_message
      }, 
      function(response){
        // response.request_ids contains comma separated list of ids.
      }
);
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论