how to make facebook chat?

≯℡__Kan透↙ 提交于 2019-12-03 09:15:23

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.

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

p.campbell

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.

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...

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!