[jdev] Simple JavaScript XMPP client example

Hund, Johannes johannes.hund at siemens.com
Mon Sep 1 13:51:25 UTC 2014


Hi Christopher,

looks like a sasl  Problem.

I recently whipped something up using strophe.js and found this example quite useful:
https://github.com/strophe/strophejs/blob/master/examples/echobot.js

Worked out of the box with openfire.

Cheers,
Johannes


Von: JDev [mailto:jdev-bounces at jabber.org] Im Auftrag von Christopher Fortmüller
Gesendet: Montag, 1. September 2014 15:02
An: jdev at jabber.org
Betreff: [jdev] Simple JavaScript XMPP client example

Hi all,

I am running an ejabberd server for testing purposes.
I am now looking for a very basic example of a working JavaScript/html client to log in to this server.

I have tried several JavaScript libraries so far, unfortunately, to no avail. Would also appreciate input on my post on stackoverflow, if anyone has any: http://stackoverflow.com/questions/25601350/ejabberd-authentication-configuration-for-plain-or-md5-digest-for-javascript-con

I tried connecting with jQueryXmpp in that case.

Thanks for any and all help,

Cheers,

Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.jabber.org/jdev/attachments/20140901/24f1d868/attachment.html>


More information about the JDev mailing list