Facebook 通知更换

发布于 2024-11-14 21:05:06 字数 291 浏览 1 评论 0原文

似乎对此有很多疑问,但到目前为止我找不到任何明确的答案。已弃用的 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

吲‖鸣 2024-11-21 21:05:06

不幸的是,通知 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.

夏日落 2024-11-21 21:05:06

消息、电子邮件和短信都可以,但据我所知,请求对话框是它们预期的直接替代品。发送这些也会增加仪表板计数器。
需要注意的是,如果您想通过 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文