使用 Facebook JS SDK(FB.ui),是否可以使用“apprequest”方法提供 Facebook 用户 ID 列表?
查看docs我看到你可以设置“to:”,但是我不确定这是否允许你发送用户 ID 的 json 数组。如有任何帮助,我们将不胜感激!
FB.ui({
method: 'apprequests',
to:[list of ids?],
message: 'You should learn more about this awesome game.',
data: 'tracking information for the user'
});
我要么需要将其发送给特定列表用户,要么在 friend 选择器中预先选中这些框(如果可能的话)。
最佳答案
要不要尝试一下? 你总是可以做到
FB.ui({method: 'apprequests',to:4, message: 'You should learn more about this awesome game.', data: 'tracking information for the user'});
FB.ui({method: 'apprequests',to:5, message: 'You should learn more about this awesome game.', data: 'tracking information for the user'});
FB.ui({method: 'apprequests',to:6, message: 'You should learn more about this awesome game.', data: 'tracking information for the user'});
关于javascript - 使用 FB.ui 在应用程序请求中设置好友 ID?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7233834/