How to connect facebook chat - WeOnlyDo Discussion board

How to connect facebook chat (wodXMPP)

by samanushuke, Wednesday, March 18, 2015, 11:35 (3538 days ago)

I tied several script but still no luck, username and password are correct tested with another xmpp program works fine

wodXMPP1.Login = username
wodXMPP1.Password = password
wodXMPP1.Authentication = AuthenticationsEnum.AuthDigest
wodXMPP1.Connect("chat.facebook.com")

Result
Connecting to server
Initializing secure connection
Connecting to server
Disconnected from server


I tried

wodXMPP1.Security = SecurityEnum.SecurityNone
wodXMPP1.Login = username
wodXMPP1.Password = password
wodXMPP1.Authentication = AuthenticationsEnum.AuthPlain
wodXMPP1.Connect("chat.facebook.com")

result
CONNECT error: Invalid login: not-authorized. 30010

Thank you for your assist

How to connect facebook chat

by wodSupport, Wednesday, March 18, 2015, 14:24 (3538 days ago) @ samanushuke

Hi Samanushuke,

we did some testing. Seems that Facebook XMPP now only supports TLSv1, which we couldn't force. We have updated wodXMPP, so please request update from our website at

http://www.weonlydo.com/index.asp?update=1

and use new version (Version property should return 1.5.2.210);

Once you do that, make sure your username is valid. I was unable to login with 'raditya.eldiablo' since it's not registered with facebook. Make sure when you open this in browser:
http://www.facebook.com/raditya.eldiablo
you actually get your profile page. If you don't, you have to setup your profile JID first to use it. We tested with ours (http://www.facebook.com/kpetric) and it worked correctly. Then we used kpetric for JID and it worked with following code:

wodXMPP1.Login = "kpetric"
wodXMPP1.Password = "********"

wodXMPP1.Authentication = AuthPlain
wodXMPP1.SecureMethod = TLSv1
wodXMPP1.Connect "chat.facebook.com"


can you try that?

Best regards,
Jasmine.

How to connect facebook chat

by samanushuke, Thursday, March 19, 2015, 05:04 (3537 days ago) @ wodSupport

Thank you for your assist
I tried your script works greats
Many thanks

Best regards,
Aditya H