Question

I am trying to integrate Facebook chat in iPhone, when I searched related stuff I found xmpp framework. I download it and run but it is not showing anything. Is there any tutorial available for this? can anyone help me to how to integerate facebook chat in iPhone?

Inam

Was it helpful?

Solution

Check this out: http://code.google.com/p/xmppframework/wiki/FacebookChatHowTo

Now the project has moved to git hub, the same page can ben found on http://github.com/robbiehanson/XMPPFramework/wiki/FacebookChatHowTo

OTHER TIPS

https://github.com/robbiehanson/XMPPFramework how to compile is on this link.

https://github.com/robbiehanson/XMPPFramework/wiki/GettingStarted_iOS which is also on the same git page.

download xmppframework and unzip it.In the unzip folder contains xcode folder open it and again it contains iphoneXMPP folder ans open it click on xcode proj and run it.

login page will be displayed before that open appdelegate.m file there is delegate method:

(void)xmppStream:(XMPPStream *)sender willSecureWithSettings:(NSMutableDictionary *)settings
{

}

Replace server domain from "talk.google.com" to "chat.facebook.com" and virtualDomain from "gmail.com" to "facebook.com"

You must login with your facebook username and password.Remember username is differ from regular username, for example my regular username is:" venkat.varra@gmail.com" but if i provide this wouldnot login intead of this i will provide username as: "venkat.reddy.73157203@chat.facebook.com"

password is asusual.

Toget your username like this go to facebook account and click your display name then observe address bar of the browser.

I tried this way and i get my facebook friends.You try this.

Facebook seems to have deprecated XMPP Chat API. Should no longer work After April 30th, 2015.

More here : https://developers.facebook.com/docs/chat#platauth

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top