Pregunta

Is there a way to send an instant message from your PHP code to a formal messaging service like Yahoo Messenger, Skype or MSN messenger?

¿Fue útil?

Solución

Yes. You can use libpurple. It has PHP bindings.

This libpurple PHP binding, which defines a set of internal classes, gives a possibility to use aol and icq (oscar), yahoo, msn, jabber, irc and much more protocols directly from PHP. Write your own IM chat client in PHP, as simply as PHP enables it.

For Skype you will need their COM Control. Then you can use the COM extension in PHP to interface with Skype.

Otros consejos

Please refer to http://code.google.com/p/phpmsnclass/ . I think that is what you want.

MSN class for php, support MSNP9 (MSN 6.2) and MSNP15 (WLM 8.1), use as a bot or just send message to MSN or Yahoo (via MSN, you need Yahoo 8.1 to communicate with MSN). Support OIM (offline message) if using MSNP15.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top