I want to make a simple javascript-based XMPP client. I stumbled upon 'strophe js', which should make my life easier when it comes to XMPP but I find the documentation a bit.. uncomplete. It has an example on how to connect/disconnect but that's pretty much it.
I need to get a list of contacts, send and receive messages... how do I do this?
Actually: where can I find a tutorial or an example on how to do this? (no need to write a full tut here :)
You can find your requirement related to chat using stropher js for XMPP protocol on this below working github code.
https://github.com/metajack/profxmpp
Look on chap :06 demo (GAB Tut).
It will satisfy all your requirement related to
one to one chat.
Roster list (Friend list),
Send friend request,
In coming request approval.
Start one to one chat etc...
and all important demo also included
Let me know you have any query in this demo. :) :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With