Access Windows Live ID/Facebook authentication in Windows Phone programmatically

1k views Asked by At

I have a Windows Phone which is linked to Windows Live ID and Facebook accounts.
I want to use this built-in Windows Live Id information to access SkyDrive (Just like Microsoft Office Mobile and other does). Particularly, I dont want to use SkyDrive API for Windows Phone 7.5 and rewrite the whole code again for user's discovery and authentication. Because, I believe that if the user's phone can sync to SkyDrive, the user is already authenticated to access skydrive and other Microsoft online services. And the similar case for Facebook access through Windows Phone.

But i cant figure it out, as how can i discover this built-in authentication information.

Any help would be highly appreciated. Thanx in advance

1

There are 1 answers

2
HDW Production On

WP7 doesn't give you the IDs. You'll have to use SkyDrive's / Facebook's APIs to get the credentials and required information.

The user has to explicitly grant your very app access to SkyDrive / Facebook. Even if the user has granted his phone's operating system (and built-in apps) access, this doesn't mean that any other app may automatically access SkyDrive / Facebook.

SkyDrive has an easy to use SDK (it provides a Button control which does everything you need) and I guess for Facebook there are SDKs as well.