Frequently Asked Questions

How to connect with wodXMPP to your Windows Live account?

Windows Live added support for XMPP protocol authentication, now you can use wodXMPP to connect to your Windows Live account.

In order to connect to Windows Live account you need to first retrieve your access token. Here is one way how to obtain token.

Please go to:
https://manage.dev.live.com/

you need to authenticate there using your Windows Live account. After you are connected to your Windows Live account, please go to "My Apps" then to "Create Application" and create there new application account.

Then open Application Settings Page and you will receive there your Client ID. Under API Settings please add Redirect domain. You can use any http:// or https:// domain.

Next, you need to open this URL:
https://oauth.live.com/authorize?client_id=CLIENT_ID&scope=wl.messenger&response_type=token&redirect_uri=REDIRECT_URI

please add inside this URL CLIENT_ID (your Client ID) and REDIRECT_URI (your Redirect domain).

When you sign there using your Windows Live account, you need to click on Yes to allow access. You will be automatically redirected to your domain (Redirect domain URL) and inside this URL you will receive your access_token.

Here is example of Redirect domain URL output:

http://www.something.com/#access_token=AwAgAq1DBAAUlbRWyAJjK5w968Ru3Cyt%2f6GvwXwAAY3djbAMC3tEzKBb2X2CH2vsRIpmFES9zhOMDHHcJIp1%2fwPkhNhRUCAwtB%2fcON6FCx5lhy0iurG3H0tysT00meksAq4%2fDlaMsQ%2bbP34tciXxyhB5p%2fjraQLRbNbIsxlD9rocGSUridAShEb7Ah9T%2fvU25JyPiSRmwa%2bbcUNMmj%2bTbLVMHuoq0dpBlDp5epb8kfkJUfls5gSGY9%2brRmZIh9eJo77E8j8z8XkI09KCZnbk7zS7VuVzHHHueNOkiSjFZumEhyUR3IpUd%2bu31waqgsIjhMEAyE0kow3U4rxYBokQSzZPcsajUd6v%2bLkpzgLwMBWx2YiyTMvzI4zI0mdXQWQDZgAACMasCHCvj1y%2b8AAqwvL0KUQDce%2bvDHXG23WKdcVnp3u6%2fY2MXkFA0iaCvSGgw74JgwCbCTPsE3%2fa6lRo76t2%2fruCJUA%2bP%2bZSdCI6NQLmdxWuj%2fDAL7QKGrV6mazvy8dc94YgxcZsnmhLu%2fABgu1FEpuwZzFvwlSBrjqcce28dJle40HEkvzKRT%2brHHMJNHkIVij%2fRrk7EpdM7gA8i%2fJ6sdkhG67Q1uiVBIKwJnpJCytai9ktWTJ4wlGgmM%2fwpVKvXUK7XJ%2bc62hr1U6U9hPPrtXrUaS4Hy7YWtid4WehAkYHTKvQ9wn%2fFdA%2fIHOCYe96XTNYoW5Ih9ChhAYAAA%3d%3d&token_type=bearer&expires_in=3600&scope=wl.messenger&authentication_token=eyJhbGciOiJIUzI1NiIsICJraWQiOiIwIiwgInR5cCI6IkpXVCJ9.eyJ2ZXIiOjEsICJpc3MiOiJ1cm46d2luZG93czpsaXZlaWQiLCAiZXhwIjoxMzI2MTUyOTcxLCAiYXVkIjoid3d3LmluZGV4LmhyIiwgInVpZCI6IjZkNGI2ZjBmNzBjMzRhN2U4OWFjNjA4NGM2Yjk2ZTBmIiwgInVybjptaWNyb3NvZnQ6YXBwdXJpIjoiIiwgInVybjptaWNyb3NvZnQ6YXBwaWQiOiIwMDAwMDAwMDQ4MDdEQkIwIn0.ZanLx7zibwdOjgHEGysEu1IxASRI1kDdTDwYUm_u_0c

and this is example token:
AwAgAq1DBAAUfbRWyAJaK5w968Ru3Cyt%2f6GvwXwAAY3djbAMC3tEzKBb2X2CH2vsRIpmFES9zhOMDHHcJIp1%2fwPkhNhRUCAwtB%2fcON6FCx5lhy0iurG3H0tysT00meksAq4%2fDlaMsQ%2bbP34tciXxyhB5p%2fjraQLRbNbIsxlD9rocGSUridAShEb7Ah9T%2fvU25JyPiSRmwa%2bbcUNMmj%2bTbLVMHuoq0dpBlDp5epb8kfkJUfls5gSGY9%2brRmZIh9eJo77E8j8z8XkI09KCZnbk7zS7VuVzHHHueNOkiSjFZumEhyUR3IpUd%2bu31waqgsIjhMEAyE0kow3U4rxYBokQSzZPcsajUd6v%2bLkpzgLwMBWx2YiyTMvzI4zI0mdXQWQDZgAACMasCHCvj1y%2b8AAqwvL0KUQDce%2bvDHXG23WKdcVnp3u6%2fY2MXkFA0iaCvSGgw74JgwCbCTPsE3%2fa6lRo76t2%2fruCJUA%2bP%2bZSdCI6NQLmdxWuj%2fDAL7QKGrV6mazvy8dc94YgxcZsnmhLu%2fABgu1FEpuwZzFvwlSBrjqcce28dJle40HEkvzKRT%2brHHMJNHkIVij%2fRrk7EpdM7gA8i%2fJ6sdkhG67Q1uiVBIKwJnpJCytai9ktWTJ4wlGgmM%2fwpVKvXUK7XJ%2bc62hr1U6U9hPPrtXrUaS4Hy7YWtid4WehAkYHTKvQ9wn%2fFdA%2fIHOCYe96XTNYoW5Ih9ChhAYAAA%3d%3d
you need to add  your token value inside wodXMPP Password Property. Hostname where you need to connect is xmpp.messenger.live.com

Here is example you can use to connect to Windows Live account using wodXMPP:
wodXMPP1.Login = "your_windows_live_login@messenger.live.com"
wodXMPP1.Security = SecurityRequired
wodXMPP1.Authentication = AuthMSNOAuth2
wodXMPP1.Password = your_token
wodXMPP1.Connect "xmpp.messenger.live.com"


 Last updated Fri, Nov 8 2013 12:00am

Please Wait!

Please wait... it will take a second!