To Adium authors: a correct way to get Addressbook

An instant messenger which can connect to AIM, MSN, Jabber, Yahoo, and more.

To Adium authors: a correct way to get Addressbook

Postby msnpsharp.wp » Mon Jan 12, 2009 8:01 am

Hi guys,

I am one of the owners of MSNPSharp, a .NET msn protocol library. Today I found that I can't get addressbook through WLM's webservice, the service just throw an exception saying "Passport authentication failure" after I post the request. That's because we haven't pass the correct CacheKey to the server(yes, M$ will check the cachekeys in their latest service: v14.01.2303.0002). So we must ask for a cachekey for each service before we post our request.
For example:
If you want to post a request to https:/contacts.msn.com/abservice/abservice.asmx and you just haven't got a CacheKey at hand, post the request to https:/byrdr.omega.contacts.msn.com/abservice/abservice.asmx first, it will return a CacheKey, a preferred host URL, and, a HTTP 301 error(redirection). Then fill that key into "<CacheKey></CacheKey>" field, post your request to https:/[preferred host]/abservice/abservice.asmx , you will get what you want.
Besides, the following list is the corresponding url you can get cachekey from:

https://byrdr.omega.contacts.msn.com/ab ... rvice.asmx : https:/contacts.msn.com/abservice/abservice.asmx or https:/omega[number].contacts.msn.com/abservice/abservice.asmx
https://byrdr.omega.contacts.msn.com/ab ... rvice.asmx: https:/contacts.msn.com/abservice/SharingService.asmx or https:/omega[number].contacts.msn.com/abservice/SharingService.asmx
https://tkrdr.storage.msn.com/storagese ... store.asmx : https:/storage.msn.com/storageservice/schematizedstore.asmx

I post this because tooooooo many people direct me to your side :grin:

Sorry for my bad English.
Good luck!
msnpsharp.wp
Harmless
 
Posts: 2
Joined: Mon Jan 12, 2009 7:08 am

Re: To Adium authors: a correct way to get Addressbook

Postby Robby » Mon Jan 12, 2009 8:47 am

I've forwarded your post to the Pidgin folks for investigation because it's their libpurple library we use.
Thanks a lot for your help! :)

I'll report back if there's any news.
Image Adium needs you–coder or not!
Before posting, please
- search the forums
- check the Adium Wiki, the Team has tried to answer most every Adium-relevant question. =)
User avatar
Robby
Cocoaforge Admin
 
Posts: 1300
Joined: Sun Apr 30, 2006 10:00 pm

Re: To Adium authors: a correct way to get Addressbook

Postby msnpsharp.wp » Mon Jan 12, 2009 12:00 pm

Not at all, by the way, my email is freezingsoft@hotmail.com, just tell them to contact me if they need help :grin:
msnpsharp.wp
Harmless
 
Posts: 2
Joined: Mon Jan 12, 2009 7:08 am


Return to Adium

Who is online

Users browsing this forum: czak