自己这边有人搭建了个xmpp的服务器
然后想要验证是否可以通讯。
所以要去找个第三方的,通用的xmpp平台,看看能否与之通信。
[折腾过程]
1.Converse.js
2.Tigase
3.找到这个:conversejs.org
![open conversejs.org home page](https://www.crifan.com/files/pic/uploads/2016/08/open-conversejs.org-home-page.png)
然后去试试:
![use crifan li account to login](https://www.crifan.com/files/pic/uploads/2016/08/use-crifan-li-account-to-login.png)
然后就登入了,暂时没好友:
![login ok show online but no friend](https://www.crifan.com/files/pic/uploads/2016/08/login-ok-show-online-but-no-friend.png)
然后去添加好友:
![try to add larry as friend](https://www.crifan.com/files/pic/uploads/2016/08/try-to-add-larry-as-friend.png)
然后再去自己的服务器:
http://jiandao.im/web/main.html
中去登录看看:
![self to jiandao im to login](https://www.crifan.com/files/pic/uploads/2016/08/self-to-jiandao-im-to-login.png)
然后网站那端,刚刚已经看到了larry的好友申请了:
![already show larry request](https://www.crifan.com/files/pic/uploads/2016/08/already-show-larry-request.png)
已经可以在网站中聊天了:
![can chat with larry](https://www.crifan.com/files/pic/uploads/2016/08/can-chat-with-larry.png)
然后在自己的网站中添加别的账户为好友:
![own web side add other](https://www.crifan.com/files/pic/uploads/2016/08/own-web-side-add-other.png)
然后在第三方网站中,也是可以看到的:
![other third parth xmpp site can show friend](https://www.crifan.com/files/pic/uploads/2016/08/other-third-parth-xmpp-site-can-show-friend.png)
[总结]
注册和使用jiandao.im的逻辑是:
通过:
去注册账号,其中域名是:jiandao.im
然后注册完毕,自动登陆了conversejs
主动退出conversejs
再去简道:
重新登陆简道
用户名是:
登录后,即可收到来自好友的申请
和好友聊天发送消息了。