[英]App requests notifications are not appearing in facebook app
I've developed a web facebook app with the possibility of invite a friend via a request that appears in the notifications. 我已经开发了一个网络Facebook应用程序,可以通过通知中显示的请求邀请朋友。 It works fine in the web version of facebook but in the Facebook app (Android and iOS) the notifications are not appearing. 它在Facebook的Web版本中工作正常,但是在Facebook应用程序(Android和iOS)中没有出现通知。
Some questions here in SO address the same issue but all the solutions (Canvas configuration in the developer console, permissions, set the app live, etc) do not work. SO中的一些问题解决了相同的问题,但是所有解决方案(开发人员控制台中的Canvas配置,权限,将应用程序设置为实时状态等)均不起作用。 In this question: facebook app request notification not showing up in Facebook iOS app for mobile web app the accepted answer is to set an ID of the apple store but write a Native app to show the same content seems an overkill in time in money (Specially considering the time that the Apple store takes to accept and App). 在以下问题中: Facebook应用程序请求通知未显示在移动Web应用程序的Facebook iOS应用程序中 ,可接受的答案是设置苹果商店的ID,但编写本机应用程序以显示相同内容似乎浪费了很多时间(特别是考虑苹果商店接受和应用所需的时间)。
Is there any way to fix this?, seems like before setting the canvas (Web and mobile) was enough, but it is not working. 有什么办法可以解决此问题?,似乎在设置画布(Web和移动设备)之前就足够了,但是它不起作用。
This is actually by design. 这实际上是设计使然。 The actual answer is in the docs : 实际答案在docs中 :
Requests will only surface on platforms where the game has been defined in the app dashboard as having a presence. 请求只会在已在应用仪表板中将游戏定义为存在的平台上浮出水面。 So for example, if an app exists on iOS and Android, but has no Canvas presence, recipients will not see requests received via that app appear on the desktop web version of Facebook.com as notifications. 因此,例如,如果某个应用程序存在于iOS和Android上,但是没有Canvas的存在,则收件人将看不到通过该应用程序收到的请求作为通知出现在Facebook.com的桌面网络版本上。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.