XMPP with Java Asmack library supporting X-FACEBOOK-PLATFORM
Finally, thanks to the no.good.at.coding code and the suggestion of harism, I’ve been able to connect to the Facebook chat. This code is the Mechanism for the Asmack library (the Smack port for Android). For the Smack library is necessary to use the no.good.at.coding mechanism. SASLXFacebookPlatformMechanism.java: import java.io.IOException; import java.io.UnsupportedEncodingException; import java.net.URLEncoder; import java.security.MessageDigest; import … Read more