I am trying to integrate facebook chat using smack API.But i get an error telling authentication failed using digest md5...
Here s the code for authentication:
For me the solution was to not include the host part in the username when calling login()
without DNS SRV and not agains the Google Talk services. This is also described in the ignite forums.
E.g.
connection.login("user@jabber.org", "password", "resource");
becomes
connection.login("user", "password", "resource");