I am using XMPP framework for implementing Facebook chat functionality and getting error as
Code:
2011-08-09 12:17:49.781 FacebookStaticTest[4217:207] RECV: <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cmVhbG09ImNoYXQuZmFjZWJvb2suY29tIixub25jZT0iRDg4QkREMTNFMTcwRjEwOUVGMDI2OTkwRjExMzYyMTYiLHFvcD0iYXV0aCIsY2hhcnNldD11dGYtOCxhbGdvcml0aG09bWQ1LXNlc3M=</challenge>
2011-08-09 12:17:49.781 FacebookStaticTest[4217:207] decoded challenge: realm="chat.facebook.com",nonce="D88BDD13E170F109EF026990F1136216",qop="auth",charset=utf-8,algorithm=md5-sess
2011-08-09 12:17:50.072 FacebookStaticTest[4217:207] RECV: <failure xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><not-authorized/></failure>
2011-08-09 12:17:50.073 FacebookStaticTest[4217:207] RECV: <failure xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><not-authorized/></failure>
I have already read Facebook chat document and done following changes Set the Application Type to Native app and Save Changes. Select the Advanced tab. Under Migrations, change Disable Deprecated Auth Methods from Enabled to Disabled and Save Changes.
Also i created new application... Still getting same error...... Please help....
Thanks in advance......