【问题标题】:How to create group on openfire and then add member on group using URL?如何在 openfire 上创建组,然后使用 URL 在组中添加成员?
【发布时间】:2015-09-15 07:46:19
【问题描述】:

我想在开火时创建组,然后使用 URL 在该组中添加成员。

我已经使用这个 URL 创建了用户:

http://myhostname:port/plugins/userService/userservice?type=add&secret=mysecretkey&username=$username&password=$password&name=$name&email=$email

请帮助我创建组并在该组中添加用户,我已使用此 URL 创建组:

http://myhostname:port/plugins/userService/userservice?type=add&secret=mysecretkey&name='spalchat'&description='parent'

但是,它抛出了一个异常:<error>IllegalArgumentException</error>

【问题讨论】:

    标签: php


    【解决方案1】:

    尝试对 xmpp 使用 php library

    1. Eiffel
    2. xmpphp
    3. Lightr
    4. JAXL

    【讨论】:

    • 虽然此链接可能会回答问题,但最好在此处包含答案的基本部分并提供链接以供参考。如果链接页面发生更改,仅链接的答案可能会失效。
    • 我的意思是我想明白,为什么 - 1??
    猜你喜欢
    • 1970-01-01
    • 2023-03-31
    • 1970-01-01
    • 2015-07-28
    • 2014-07-21
    • 2023-04-09
    • 2013-02-09
    • 2015-07-23
    • 1970-01-01
    相关资源
    最近更新 更多