sstrigler / JSJaC

JavaScript Jabber Client Library
Other
295 stars 86 forks source link

unable to use JsJaC facebook chat client library to my web site ........ i read the read me in the JSJAC but have no idea about how to implement this client library in my website..... and how i can use this link to utilize bosh server "https://jappix.com #63

Closed mirzaarsalan closed 11 years ago

rraptorr commented 11 years ago

Jappix appears to be a standalone XMPP network. It has no relation to Facebook and I really don't see how it can be used to connect to Facebook.

The usual approach is to launch a BOSH gateway (like node-xmpp-bosh) on your server and make it available on your website, so it can proxy requests from JSJaC to Facebook chat servers.

Unfortunately, FB code in JSJaC was contributed a couple years ago by a third party. It no longer seems to work due to changes in Facebook API.

So in short, currently JSJaC will not work with Facebook (at leas when trying to use X-FACEBOOK-PLATFORM SASL method).

mirzaarsalan commented 11 years ago

so plz sir can u help me how i can embed facebook chat to my website ? give me some use-able links or a simple application which can do this.... i am doing my final year project and i need this functionality in my website plz help me will be vary thnkfull to you...... :)

rraptorr commented 11 years ago

I really have no idea, I've never used Facebook chat in that way. You should probably just write the needed code yourself. Facebook chat API is documented here: https://developers.facebook.com/docs/chat/

ghost commented 11 years ago

http://www.catb.org/esr/faqs/smart-questions.html