Difference between revisions of "Talk to Google Talk from PHP"

From rukapedia
Jump to: navigation, search
 
 
Line 4: Line 4:
  
 
Pointers to code that ''will'' support this, whether in PHP, Perl or Ruby, are welcome.
 
Pointers to code that ''will'' support this, whether in PHP, Perl or Ruby, are welcome.
 +
 +
== Message from '''Shai''': ==
 +
I also need to do this with PHP and am having the same problem - can anyone help?

Latest revision as of 18:31, 18 December 2005

I'd like to find a way of talking to Google Talk (i.e. sending automated, script-driven messages, "bot" style) from PHP. That way I can have scripts on my webserver send me messages like "the load average is high" or "someone just bought a widget."

Because Google Talk uses the open Jabber/XMPP protocol, in theory this should be easy to do. In reality, it seems that none of the current PHP Jabber Code Libraries have all of the Google Talk technical requirements, most notably the "TLS is required" part.

Pointers to code that will support this, whether in PHP, Perl or Ruby, are welcome.

Message from Shai:

I also need to do this with PHP and am having the same problem - can anyone help?