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

Design-Ireland.net: Logging Messages to Scribe from PHP

Pádraic Brady's Blog: OpenID library for the Zend Framework?

NetTuts.com: So You Want to Accept Credit Cards Online?

PHPMaster.com: Simplifying Test Data Generation with Faker

JellyandCustard.com: Using DirectoryIterator to List Files in PHP


Community Events





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


developer bugfix community interview api symfony library zendserver framework list podcast deployment opinion language release laravel conference series tips introduction

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