I had a task in my organisation to implement facebook chat in ADF. After a lot of search on internet and found that chat for facebook can only be inplemented through smacks api. It is available at http://www.igniterealtime.org/downloads/source.jsp .
Download the sample zip application here : Facebookchat.rar
There are three java classes used for the same:
Download the sample zip application here : Facebookchat.rar
There are three java classes used for the same:
- "CustomSASLDigestMD5Mechanism.java" to perform the authentication.
- "FBMessageListener.java" to listen to the messages that comes to you from facebook.
- "FBConsoleChatApp.java" is the java class that contatins main method i.e. this is the class used for running the program.
GoodLuck.
No comments:
Post a Comment