用于Facebook聊天的XMPP库 [英] XMPP library for facebook chat
问题描述
所以Facebook正在向我们开放聊天服务器...很棒。我是XMPP的新手,那么连接到他们的服务器的JS库最好呢?
So facebook is opening its chat servers to us... great. I am new to XMPP, so what would be the best JS library to connect to their servers?
我在Google上搜索了一篇教程文章,但没有发现任何内容。有人可以指引我吗?
I googled for a tutorial article, but found nothing. Can someone direct me to one?
推荐答案
正如Joschi指出,strophe是一个非常好的JavaScript库。但是您需要 BOSH管理员连接从javascript到XMPP。您可以使用一个独立的管理器,例如punjab。
As Joschi pointed out strophe is a very good javascript library. But you need a BOSH manager to connect from javascript to XMPP. You could use a standalone manager like for example punjab.
如果您无法运行BOSH管理器,那么您也可以通过没有BOSH的闪存连接到XMPP。
If you can not run a BOSH manager then you could also connect to XMPP via flash without BOSH.
这篇关于用于Facebook聊天的XMPP库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!