Hi Osman,
Google has done away with XMPP ever since it moved to Hangouts. So talk.google.com or mtalk.google.com will not work.
I was able to get the connect working with 4.1 Smack
SmackConfiguration.DEBUG=true;
final XMPPTCPConnectionConfiguration connectionConfiguration = XMPPTCPConnectionConfiguration.builder()
.setServiceName("chat.facebook.com").setHost("chat.facebook.com")
.setPort(5222)
.setCompressionEnabled(false)
.setDebuggerEnabled(true)
// .setSecurityMode(ConnectionConfiguration.SecurityMode.disabled)
.build();
mConnection = new XMPPTCPConnection(connectionConfiguration);
in the onConnected callback of this connection, call mConnection.login("username","password")
You will successfully login to Facebook chat using this