how to make facebook chat?

13.6k views Asked by At

I want to create an android Facebook chat application , i found this open source project .. http://coderrr.wordpress.com/2008/05/06/facebook-chat-api/

but i want to ask whether this "Facebook chat api" is still working ?

If no, what is the way to creat a facebook chat ?

4

There are 4 answers

0
p.campbell On

Facebook provides their own chat API. See the docs at Integrating with Facebook Chat. They provide sample code in PHP.

You can also use Jabber to authenticate with Facebook. You'll need an application key to ensure this all works.

0
Jeff Stice-Hall On

Dig a bit deeper into http://developers.facebook.com/docs/chat/. There are a number of XMPP and related APIs for Java, C#, iOS, and Android alike to be found on the web - or you can base such work on the libpurple API from Pidgin (http://www.pidgin.im/). It would behoove you to become familiar with XMPP concepts.

0
Rubycon On

There is great simple code https://github.com/KanybekMomukeyev/FacebookChat , i used it in my app.

0
enthusiastic On

U can integrate fb chat using facebook authentication or by digest md5...the code given there does not use any API keys nor it uses digest md5 authentication... So not sure whether it ll wrk...try it out... the overall architecture would be

app<->xmpp<->BOSH<->Facebook chat Since fb support xmpp protocol u can set an xmpp chat client using lib lik smack,strophe,asmack etc...

refer to http://professionalxmpp.com/..great to start with..gives complete idea on hw to go abt...