开发者

Creating an XMPP GTalk chat app with jQuery/Phono

So I've been working with ph开发者_Python百科ono.js which is an amazing new jQuery library. It supports XMPP client chats, so I'm looking for a way to setup live chats with GTalk accounts. The documentation isn't really supported very well...

If anybody has a better solution for creating a GTalk app in-browser I'd love to hear. but jQuery seems like the best way and Phono even supports the XMPP protocol! So my thought was try here first :)


It looks like phono.js is tied to their service. As such, create a user there, add that user to your GTalk roster, and send a message to the GTalk user's Jabber ID (same as their GMail address). The two servers will federate together behind the scenes.

$.phono({
  onReady: function() {
     this.messaging.send("example@gmail.com","Hello");
  }
})
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜