Found on Abhinav Singh:
Follow the steps to successfully run a facebook chat bot:
 -Download Jaxl v 1.0.4 or checkout latest from trunk http://jaxl.googlecode.com/svn/trunk/jaxl-read-only
-Edit the configuration file config.ini.php as follows:
$env = "prod";
 
  $key = array("prod"=>array("user"=>"facebook_username",
                             "pass"=>"facebook_password",
                             "host"=>"chat.facebook.com",
                             "port"=>5222,
                             "domain"=>"chat.facebook.com"
                            ), 
Run from command line:
abhinavsingh@abhinavsingh-desktop:/jaxl$ sudo php index.php
OSType: Linux, Registering shutdown for SIGINT and SIGTERM
OpenSSL: Enabled for CLI
Attempting DIGEST-MD5 Authentication...
Starting Session...
Requesting Feature List...
Requesting Roster List...
Setting Status...
Done 
Try to send a message to your running chat bot and you shall receive a default message back from the bot saying ‘Hi, Thanks for your message’.

 RSS AI Zone
            
            
        
            
            
            
        
            
