News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Abhinav Singh's Blog:
Writing your first facebook chat bot in PHP using Jaxl library
February 12, 2010 @ 09:16:04

With the announcement Facebook as made about opening up their chat service to outside connections, several developers are taking the opportunity to create their own scripts to interface with the service. One developer, Abhinav Singh has posted a tutorial about the sample application he's created to do just that.

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.

He shows how to use the Jaxl library to make the connection, setting up some basic environment variables and making the connection to the server. The index.php file that comes with the library reads this config file and sends a default message to the server and returns the response.

0 comments voice your opinion now!
facebook chat connection jaxl library


blog comments powered by Disqus

Similar Posts

Kevin Schroeder's Blog: Your favorite PHP sites (based off of Facebook responses)

Pádraic Brady's Blog: PHP OpenID 2.0 library for PEAR Updates

Andreas Gohr's Blog: Google Chart API via PHP

Zend Developer Zone: AJAX Chat Tutorial Pt 5: Javascript, Sending Chat Messages, Screen Name Changes

Gonzalo Ayuso: Handling several PDO Database connections in Symfony2 through the DIC in PHP


Community Events





Don't see your event here?
Let us know!


unittest threedevsandamaybe code opinion developer podcast api introduction framework install testing list experience symfony2 release series community interview laravel language

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework