收到 Facebook 请求通知但未显示消息
Facebook apprequest notification received but not showing message
收到通知但没有消息。
知道为什么吗? Facebook 是否删除了开发文档中的消息?
function newInvite(){
FB.ui({
method: 'apprequests',
title: 'Invite friends to play',
message: 'Come to play.',
new_style_message: true, // added this after a search but doesnt work either
filters: ['app_non_users']
});
}
https://developers.facebook.com/docs/games/services/gamerequests#dialogparameters:
message: A plain-text message to be sent as part of the request. This text will surface in the App Center view of the request, but not on the notification jewel
所以是的,如果您正在谈论通知宝石(网络顶部栏中的小地球符号 UI),这应该以这种方式工作 - 它只会显示文本由 Facebook 提供,“Foobar 向您发送关于 Appname 的请求”或类似的内容。
只有 https://www.facebook.com/games/activity 下的详细 App Center 视图才能显示发送请求的用户键入的消息。
收到通知但没有消息。 知道为什么吗? Facebook 是否删除了开发文档中的消息?
function newInvite(){
FB.ui({
method: 'apprequests',
title: 'Invite friends to play',
message: 'Come to play.',
new_style_message: true, // added this after a search but doesnt work either
filters: ['app_non_users']
});
}
https://developers.facebook.com/docs/games/services/gamerequests#dialogparameters:
message: A plain-text message to be sent as part of the request. This text will surface in the App Center view of the request, but not on the notification jewel
所以是的,如果您正在谈论通知宝石(网络顶部栏中的小地球符号 UI),这应该以这种方式工作 - 它只会显示文本由 Facebook 提供,“Foobar 向您发送关于 Appname 的请求”或类似的内容。
只有 https://www.facebook.com/games/activity 下的详细 App Center 视图才能显示发送请求的用户键入的消息。