Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我可以通过调用FB.ui. 我这样做是为了替换通过一些 FBML 进行的旧调用,即fb:multi-friend-selector. 文档中不清楚的是如何等效于fb:req-choice使用新 API?
FB.ui
fb:multi-friend-selector
fb:req-choice
我认为您可以从 JS SDK 中使用它:
function sendRequestToOneRecipient() { var user_id = document.getElementsByName("user_id")[0].value; FB.ui({method: 'apprequests', message: 'My Great Request', to: user_id, }, requestCallback); }