How I can fetch Windows Live Contacts?
To acquire accessibility to a Windows Stay user's info while in the Dwell Contacts service, a third-party developer to begin with must request the owner for permission. It's essential to
do that because of Windows Stay Delegated Authentication.
This library give you access to Windows Live Delegated Authentication
Method and Windows Reside Contacts API. Just stick to the procedures under and be
happy!
Registering your app
First of all,
office Home And Student 32bit, follow the tips in this page to
register your app.
Configuring your Windows Stay YAML
After registering your app,
office Home And Business product key, you are going to have an appid, a secret
primary in addition to a return URL. Use their values to fill from the
config/contacts.yml file. The policy URL field inside of the YAML config file
have to include the URL with the privacy policy of your respective Web site page for Delegated
Authentication.
Authenticating your user and fetching his contacts
wl = Contacts::WindowsLive.new
auth_url = wl.get_authentication_url
Use that auth_url to redirect your user to Windows Stay. He'll
authenticate there and Windows Stay will Post to your return URL. You could have
to acquire the entire body of that Publish,
office 2010 Standard 32bit key, let us simply call it post_body. (if you are using
Rails,
microsoft office Professional 2010 activation, you could obtain the Publish body by using request.raw_post, during the context
of an action inside of ActionController)
Now, to fetch his contacts,
microsoft office pro 2010 x64, just do that:
contacts = wl.contacts(post_body)
#-> [ ['Fitzgerald', 'fubar@gmail.com', 'fubar@example.com'], ['William Paginate', 'will.paginate@gmail.com'], ... ]
-- This class has two responsibilities:
Access the Windows Dwell Contacts API by Delegated Authentication
Import contacts from Windows Reside and deliver it inside of an Array