[英]how to use facebook login for an application
我正在开发一个应用程序,我必须使用Facebook或谷歌登录登录我的应用程序,所以请指导如何使用Facebook或谷歌登录进入应用程序并获取客户端的一些基本信息
You want to have a look into oauth. 你想看看oauth。
http://www.asp.net/mvc/tutorials/security/using-oauth-providers-with-mvc http://www.asp.net/mvc/tutorials/security/using-oauth-providers-with-mvc
看看你可以使用Facebook SDK的地方
If you only want to check if the account exists and is valid, you could check if the page contains a certain text that only appears on valid Facebook accounts. 如果您只想检查帐户是否存在且是否有效,则可以检查该页面是否包含仅出现在有效Facebook帐户上的特定文本。 Create a webBrowser class and have the user log into their account, then download the page source as a HTML file and check for text in it. 创建一个webBrowser类并让用户登录到他们的帐户,然后将页面源下载为HTML文件并检查其中的文本。 This is a big workaround but from my point of view it works. 这是一个很大的解决方法,但从我的观点来看,它是有效的。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.