Today facebook officially announced availability of it’s chat through jabber/xmpp clients. This is a big win for XMPP, with almost 400 million new probable users adding into XMPP club. In this post, I will demonstrate how to connect to facebook chat servers using Jaxl client library in PHP. It can further be used to make custom chat bots for facebook.
Creating your first facebook chat bot:
Follow the steps to successfully run a facebook chat bot:
Download Jaxl v 1.0.4 or checkout latest from trunk
svn checkout http://jaxl.googlecode.com/svn/trunk/ jaxl-read-only




