eJabberd connection to facebook xmpp

I am creating chat application that will connect to facebook chat via XMPP. I installed eJabberd server, and, I am looking for a way to to hook to messages that comes from the client in order to add the access token and the api key/secret to the message before I am sending it to facebook, and I can't figure out how to do it, is it via one of the pre defined ejabber modules, or I need to develop one?

** I can connect with pidgin to facebook xmpp using the eJabberd server I installed.

Thanks.

链接地址: http://www.djcxy.com/p/94152.html

上一篇: ejabberd与红宝石轨道上的服务器

下一篇: 与Facebook xmpp的eJabberd连接