I want to integrate FB chat with my website using SMACK. Is there any sample code available in java for establishing the connection, sending / receiving test messages? The FB developers page (https://developers.facebook.com/docs/chat/) has sample PHP code, but need something in Java.
Setup to communicate with non-circuitous xmpp accounts.
Then prepare for the masochism of f*book:
Consider XMPP evangelism. Invite f*book users to escape Auschwitz style privacy and embrace other than least common technology. XMPP servers can provide fine grained privacy controls via XEP 0016