views:

85

answers:

3

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?

I googled for a tutorial article, but found nothing. Can someone direct me to one?

+1  A: 

strophe.js is a powerful and widely used XMPP library for JavaScript.

joschi
+2  A: 

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.

If you can not run a BOSH manager then you could also connect to XMPP via flash without BOSH.

Alfred