如何通过Facebook登录,如果用户没有在我的网站上注册,那么首先注册他,然后将他重新发送到网站的页面。 [英] How to login through facebook and if user not registered in my website then first register him and then rediterct him to website's page.

查看:92
本文介绍了如何通过Facebook登录,如果用户没有在我的网站上注册,那么首先注册他,然后将他重新发送到网站的页面。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的网站上使用登录与facebook按钮登记注册。所以我想知道如何实现以下内容:

1.当用户点击使用Facebook登录时,它应检查用户以前是否在我的网站上注册过。

2.如果用户以前在我的网站注册,那么他只是重定向到我网站的主页。

3.如果用户没有在我的网站注册,那么他会重定向到注册页面,我在那里我正在使用Facebook注册插件。

4.然后使用Facebook注册插件,他将在我的网站注册。



整体而言我想问一下如何用登录到带有Facebook的codeproject.com 登录登录。

解决方案

阅读文章。



1. 在没有任何第三方库的ASP.NET应用程序中使用Facebook登录。 [ ^ ]

2. Asp.net将Facebook登录身份验证整合到网站 [ ^ ]

I am using login with facebook button with registraion in my website. So I want to know how to implement the following:
1. When user clicks on "Login with Facebook" then it should check if the user previously registered in my website or not.
2. If user previously registered in my website then he simply redirects to my website's home page.
3. If user has not registered in my website then he redirect to the registration page, where I am using "Facebook Registration Plugin".
4. Then using "Facebook Registration Plugin" he will register in my website.

Overall I want to ask how the Sign-In with facebook of log in to codeproject.com with Facebook implemented.

解决方案

Read the articles.

1. Using Facebook login in ASP.NET application without any third party library.[^]
2. Asp.net integrate Facebook login authentication to website[^]


这篇关于如何通过Facebook登录,如果用户没有在我的网站上注册,那么首先注册他,然后将他重新发送到网站的页面。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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