Erlang 如何在ejabberd中获取脱机发布身份验证令牌的值?
我已经安装了ejabberd,然后为推送消息添加了一个额外的模块mod_offline_post。 安装后,我根据指令配置ejabberd.cfg,我需要auth_令牌和post_urlErlang 如何在ejabberd中获取脱机发布身份验证令牌的值?,erlang,push-notification,xmpp,chat,ejabberd,Erlang,Push Notification,Xmpp,Chat,Ejabberd,我已经安装了ejabberd,然后为推送消息添加了一个额外的模块mod_offline_post。 安装后,我根据指令配置ejabberd.cfg,我需要auth_令牌和post_url {mod_offline_post, [ {auth_token, "offline_post_auth_token"}, {post_url, "http://localhost:5280/offline_post"} ]}, 现在我不知道在这两个字段中输入什么值,以
{mod_offline_post, [
{auth_token, "offline_post_auth_token"},
{post_url, "http://localhost:5280/offline_post"}
]},
现在我不知道在这两个字段中输入什么值,以及如何获得这些值。
请帮助我,提前感谢本模块的作者mod_offline_post使用零推送API发送推送通知。据我所知,离线\u post\u auth\u令牌是zero push API的访问令牌,而post\u url是您想要发布离线消息的url。请看一看