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

Errumm.co.uk: My first experience in building a FaceBook Application in PHP

CiteWorld.com: Facebook's Hack language a silver bullet for user-developers

MegaLeecher.net: Decoding CAPTCHA using PHP | Hypertext Preprocessor

SitePoint PHP Blog: The next hot PHP app you install might be IBM's

Zend Developer Zone: AJAX Chat Tutorial


Community Events





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


unittest list framework interview install threedevsandamaybe code opinion developer refactor community podcast wordpress testing introduction laravel language configure series release

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