Facebook 通知更换
似乎对此有很多疑问,但到目前为止我找不到任何明确的答案。已弃用的 notification.send 方法的最佳替代方法是什么,以便我可以通过我的应用程序向用户发送通知?
上次我研究这个问题时,答案似乎是使用仪表板 API、使用计数器和仪表板活动流,并可能通过直接发布到用户墙上来进行增强。我还记得我的应用程序在请求太多的stream_publish请求后被禁用,我认为情况仍然如此......
所以总而言之,我只是好奇Facebook是否已经提供了一个直接的通知替代方案,除了仪表板 API。我认为 Graph API 还没有支持它。
There seem to be many questions about this, but so far I can't find any definitive answers. What is the best alternative to the depreciated notifications.send method, such that I can send a notification to users through my app?
The last time I looked into this, the answer seemed to be to use the dashboard API, using counters and dashboard activity streams, and possibly augmenting by posting to users' walls directly. I also remember my app getting disabled after requesting too many stream_publish requests, and I assume this is still the case...
So to conclude, I'm just curious if Facebook has presented a straight-forward alternative to Notifications yet, aside from the Dashboard API. I don't think there's Graph API support for it yet, either.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
不幸的是,通知 api 基本上被终止了,仍然没有替代品。最好的解决方法是使用 Facebook 消息、电子邮件或短信。
Unfortunately the notifications api was essentially killed with still no replacement. The best available workaround is using Facebook messages, e-mail or SMS.
消息、电子邮件和短信都可以,但据我所知,请求对话框是它们预期的直接替代品。发送这些也会增加仪表板计数器。
需要注意的是,如果您想通过 API 发送它们,则只能将它们发送给已接受您的应用程序的人。用户必须将它们发送出去才能接触新用户。
Messages, email and sms are ok, but as far as I can find, the Request Dialog is their intended direct replacement. Sending these out increment the dashboard counters, too.
The caveat with these is that if you want to send them out through the API, you can only send them to people that have accepted your app. The user must send them out for them to reach out to new users.