I am trying to connect to Windows Live Messenger using Smack, using the sample code available at https://github.com/liveservices/LiveSDK. Unfortunately, using the exact same code gives me a connection timeout:

XMPPError connecting to messenger.live.com:5222.: remote-server-error(502) XMPPError connecting to messenger.live.com:5222

Did anybody managed to connect using the library? maybe there's a mistake there. FYI, I got the access token correctly, authorised the app before trying to connect.

有帮助吗?

解决方案

Oh well I was actually missing the wl.messenger scope for the token, that's all!

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top