Hi,


We have downloaded latest version of Laconica :
<file:///C:\Documents%20and%20Settings\siddharth_pawar\Desktop\Microblogs\:%
20http:\laconi.ca\trac\wiki\Laconica_0.6.3> :
http://laconi.ca/trac/wiki/Laconica_0.6.3.



We have also deployed it successfully on Apache Xampp server and with Mysql
as Database.



We are facing issues in integrating gTalk with Laconica application.



We have performed following Steps. :



1) We used a php class XMPPHP.



Step1: We have an existing account at Google Talk which is a Jabber-enabled
service.



Step2: Downloaded the XMPPHP



Step3: In that, opened folder XMPPHP and made following changes in
‘sendmessage_example.php’



<?php



include ‘XMPPHP/XMPP.php’;



require_once $basepath.’XMPPHP/Log.php’;



$username = “MyUserName”;



$password = “MyPassword″;



$to = “[email protected]”;



$message = “This is a sample test message”;



$conn = new XMPPHP_XMPP(’talk.google.com’, 5222, “$username”,
“$password”, ‘xmpphp’, ‘gmail.com’,



$printlog=false, $loglevel=XMPPHP_Log::LEVEL_INFO);

try {

$conn->connect();

$conn->processUntil(’session_start’);

$conn->presence();

$conn->message($to, $message);

$conn->disconnect();

} catch(XMPPHP_Exception $e) {

die($e->getMessage());

}



To not use SSL/TLS encryption if available, set



$conn->use_encryption = False;

before calling

$conn->connect();Now you can test. Enjoy jabber!





However its not working.



Kindly help to solve this issue ASAP..



Regards,

Siddharth




DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the 
property of Persistent Systems Ltd. It is intended only for the use of the 
individual or entity to which it is addressed. If you are not the intended 
recipient, you are not authorized to read, retain, copy, print, distribute or 
use this message. If you have received this communication in error, please 
notify the sender and delete all copies of this message. Persistent Systems 
Ltd. does not accept any liability for virus infected mails.
_______________________________________________
Laconica-dev mailing list
[email protected]
http://mail.laconi.ca/mailman/listinfo/laconica-dev

Reply via email to