使用onesignal发送个性化推送通知 [英] Sending personalized push notifications using onesignal

查看:443
本文介绍了使用onesignal发送个性化推送通知的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在针对用户交互的各个方面进行个性化设置,并希望向用户发送个性化的推送通知,这意味着每个用户将收到针对其个性化的不同通知.

We are working on personalizations on each and every aspect of user interaction and want to send personalized push notifications to the users, meaning each user will receive different notification personalized to him.

我们目前正在使用Onesignal,那么我可以使用Onesignal来发送个性化的通知,直到超过一百万的用户群吗?或者,我必须迁移到其他替代方案,如果可以,请提出一些可靠的解决方案.

We are currently using Onesignal, So can I use Onesignal to send personalized notification upto over then a million user base ? Or I have to migrate to some other alternatives, if so please suggest some reliable solutions.

推荐答案

OneSignal当然可以用于向每个用户发送个性化通知.

OneSignal can certainly be used to send personalized notifications to each user.

要实现此目的,您将需要为向其发送通知的每个用户调用OneSignal API.由于可能需要一段时间才能发送到100万个设备,因此您可以并行化API调用以更快地完成它.

To implement this you will need to call the OneSignal API for each user that you are sending the notification to. Since this might take a while to send to 1 million devices, you can parallelize your API calls to do it faster.

但是请注意,您每秒不应发出超过20个请求,因为OneSignal的API可能会限制来自同一API的超出此限制的请求.

Note that you should not make more than 20 requests per second though, since OneSignal's API may throttle requests from the same API that exceed this limit.

这篇关于使用onesignal发送个性化推送通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆