如何像Photo App一样自动登录FB? [英] How to log-in FB automatically just like Photo App?

查看:89
本文介绍了如何像Photo App一样自动登录FB?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为了在没有用户输入的情况下自动登录FB,我发现Windows Live ID已经在下面的链接中与FB相关联

In order to auto-login FB without user's input every time, I found that Windows Live ID has been associated with FB in below link

https://profile.live.com/Services/?view=manage

如果桌面IE登录FB,用户将在此页面中看到他们的FB服务。

User will see their FB service in this page if they ever logged-in FB by Desktop IE.

在Metro应用程序中"照片"由Microsoft提供,如果FB服务存在于上述链接中,Photo应用程序将使用它自动登录FB。

In Metro app "Photo" provided by Microsoft, if FB service exists in above link, Photo app will use it to log-in FB automatically.

我的问题是,如何在Metro应用程序中自动登录FB喜欢"照片"应用程序吗?

My question is, how to log-in FB automatically in Metro app just like "Photo" app does?

由于FB帐户与Windows Live ID&可以通过Photo app访问,假设存在一些API来做同样的事情。

Since FB account is associated with Windows Live ID & can be accessed by Photo app, it is supposed that some APIs exist to do the same thing.

提前致谢。

推荐答案

你看过
WebAuthenticationBroker
类?它可能有所帮助(也就是facebook的例子,还有一个AuthenticationAsync方法可以在Single-SignOn场景中静默进行身份验证)
Did you have a look at the WebAuthenticationBroker class? It might be of help (also the example there is for facebook, there is also an AuthenticationAsync method which can do the authentication silently in Single-SignOn scenarios)


这篇关于如何像Photo App一样自动登录FB?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆