I would like to implement FB-chat inside a webpage. I looked around in Facebook API, i found out that chat is allowed only using XMPP. Firs
Informations about facebook chat server :
Protocol: XMPP or Jabber
Username: mathvdh
Domain: chat.facebook.com
Jabber ID: mathvdh@chat.facebook.com
Password:
Port: 5222
Server: chat.facebook.com
Use SSL/TLS: no
Allow plaintext authentication: no
I think strophe and punjab should be a working combination for fb chat, see here : XMPP library for facebook chat
And I think the schema would be more like :
client webpage/js/strophe <-> yourserver/punjab <-> facebook xmpp chat server