Facebook chat for wodxmpp (General questions)
Hello,
Can I use wodxmpp to login to facebook chat?
https://developers.facebook.com/docs/chat/
Thanks
David Chiang
Hello,
Can I use wodxmpp to login to facebook chat?
https://developers.facebook.com/docs/chat/
Thanks
David Chiang
by wodDamir , (4887 days ago) @ lwc5202
Hi David,
Yes, you can. Simply set Authentication property to Digest. Also, make sure that you provide chat.facebook.com to Connect method as parameter.
One more thing. You need to provide username (from Account Settings) as Login, not the usual login name that is provided when logging into facebook.
I.e:
wodXMPP1.Login = your_username ;
wodXMPP1.Password = your_password ;
wodXMPP1.Authentication = WODXMPPCOMLib.AuthenticationsEnum.AuthDigest;
wodXMPP1.Connect( chat.facebook.com );
Hope this helps.
Regards,
Damba
by David Chiang , (4887 days ago) @ wodDamir
Hello Damba,
Thanks a lot. I will try.
Best regards
David Chiang
by lwc5202 , (4887 days ago) @ David Chiang
Hello Damba,
I've try the code but no luck. I also put the debug file. It seems it faild to authorize.
Network Error: 30010
<failure xmlns= urn:ietf:arams:xml:ns:xmpp-sasl ><not-authorized/></failure>
I use Display name as login name and also try the my email. Please tell me where I missed?
The following is my code:
wodXMPP.Authentication = WODXMPPCOMLib.AuthenticationsEnum.AuthDigest;
wodXMPP.Login = Username;
wodXMPP.Password = Password;
wodXMPP.LicenseKey = LicenseKey;
wodXMPP.Connect( chat.facebook.com );
Thanks
David Chiang
by lwc5202 , (4887 days ago) @ lwc5202
Hello Damba,
I've try the code but no luck. I also put the debug file. It seems it faild to authorize.
Network Error: 30010
<failure xmlns= urn:ietf:arams:xml:ns:xmpp-sasl ><not-authorized/></failure>I use Display name as login name and also try the my email. Please tell me where I missed?
The following is my code:
wodXMPP.Authentication = WODXMPPCOMLib.AuthenticationsEnum.AuthDigest;
wodXMPP.Login = Username;
wodXMPP.Password = Password;
wodXMPP.LicenseKey = LicenseKey;
wodXMPP.Connect( chat.facebook.com );Thanks
David Chiang
Update, I also set up the username in facebook accunt setting still not working. [:doh:]
by wodDamir , (4887 days ago) @ lwc5202
David,
You need to set Login to Username, but excluding the http://www.facebook.com part.
I.e. when you go to Account Settings , the Username is displayed as http://www.facebook.com/your_username . You need only the your_username part.
Regards,
Damba
by lwc5202 , (4887 days ago) @ wodDamir
David,
You need to set Login to Username, but excluding the http://www.facebook.com part.
I.e. when you go to Account Settings , the Username is displayed as http://www.facebook.com/your_username . You need only the your_username part.
Regards,
Damba
Hello Bamba,
I try all different ways. Still no luck. same error code 30010
Thanks
David Chiang
by lwc5202 , (4887 days ago) @ lwc5202
Or they need time to work? I just setup the username 20 minutes ago.
Thanks
David Chiang
by wodDamir , (4887 days ago) @ lwc5202
David,
I simply used our sample to try, and that's the code I changed. I can't tell you exactly what you need to do withour all the details.
If you can provide me account details I could use for testing I could modify one of our samples and send it back to you.
Regards,
Damba
by lwc5202 , (4887 days ago) @ wodDamir
Hello Damba,
The chat works now. Due to facebook's servers need time to sync. It will need time to make the username work for newly create account.
Thanks
David Chiang
Your component works really great. With minor effort I have been able to convert my delphi application...
It is very refreshing to find such helpful, knowledgeable and quick responding technical support.
Many thanks for your excellent support service. I can see why you have a long list of excellent testimonials on your website.
We are having great success with your component ... email server that has over 750 000 mailboxes back ended by a SQL server...
WeOnlyDo!COM will be the first stop I make should I require any further off-the-shelf components.
Your component works really great. With minor effort I have been able to convert my delphi application...
Your component works really great. With minor effort I have been able to convert my delphi application...
You made it so simple for us to integrate SFTP - a technology we had little experience with...
May I say how nice it is to work with components so complete and self-explanatory that using them in my application is as instinctive as though I wrote them myself?
Just thought you'd like to know that my gateway app with your SMTP Server component held the line against a DDOS attack today...