Login to gtalk with strophie and punjab

256 views Asked by At

I have setup punjab on port 5281 and ejabbered xmpp server. I am coding a client using strophe.js and able to successfully login and chat with the users on three different domains that i have created on ejabbered. What i want to make a client on which gtalk and facebook users can also log in and chat. But i dont know how to connect with gtalk and fb with strophe.js.where to do put connection configuration? Do i need to put gtalk connection configuration in punjab or somewhere else?

1

There are 1 answers

4
Alex On

Your connection properties are in Strophe only. Punjab acts as a proxy and creates a XMPP client session automatically to the domain you have in your Strophe config.

So teh Bosh Uri is always the same, only username, password and XMPP domain is different for GTalk, Facebook and others.