Before anybody even cries duplication, I'd like to say that none of the questions currently posted here in StackOverflow got me started.
I'm currently tasked to create a simple Facebook chat client for Android. Basically, I just log in and get to see who my online contacts are, then, I send and/or receive messages. I've never done anything like this before so I went on to study XMPP and even attempted to create an app in http://developers.facebook.com/apps so I can get an API key for all the authentication which I think I need to undergo. But after five excruciating days of researching on XMPP and asmack and on the Graph and Chat API, I was told I didn't need to study all those and the SASLAuthentication classes and that I didn't need to get an API key. All I had to do was use the X-FACEBOOK-PLATFORM mechanism (whose every related document in the web I've already read) and send messages directly to username@chat.facebook.com. But there's not a single good and complete guide on how it's coded in Java, or Android for that matter.
Help me get started? And how does asmack have anything to do with this? I totally don't get it how I need to use asmack and not need SASLAuthentication. Thanks.