Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/xamarin/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Erlang 如何在ejabberd中获取脱机发布身份验证令牌的值?_Erlang_Push Notification_Xmpp_Chat_Ejabberd - Fatal编程技术网

Erlang 如何在ejabberd中获取脱机发布身份验证令牌的值?

Erlang 如何在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"} ]}, 现在我不知道在这两个字段中输入什么值,以

我已经安装了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使用零推送API发送推送通知。据我所知,离线\u post\u auth\u令牌是zero push API的访问令牌,而post\u url是您想要发布离线消息的url。请看一看