FB.ui( {
method: 'apprequests',
message: "hi, come and play with me.",
filters: ['app_non_users'],
frictionlessRequests : true,
to: toids.join(',')
},
function(response) {
当我点击并打开请求窗口时,我可以看到消息是正确的。 但收到我请求的人会显示“xx已向您发送请求。” 这有什么不对吗? 或者它将在其他任何地方展示?
答案 0 :(得分:1)
添加参数new_style_message:true
,该参数有时可用。我的意思是通知就像hi, come and play with me
。那么你的apprequest功能就像:
FB.ui( {
method: 'apprequests',
message: "hi, come and play with me.",
filters: ['app_non_users'],
frictionlessRequests : true,
to: toids.join(','),
new_style_message:true
},
function(response) {
虽然我说不要依赖它,因为它是一个没有文档记录的参数。顺便说一下,我也用它了