如何检查Facebook是否以C#,Asp.net或HTML登录 [英] How to check whether Facebook is logged in, in C#, Asp.net or HTML

查看:53
本文介绍了如何检查Facebook是否以C#,Asp.net或HTML登录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想检查是否有任何用户使用C#,Asp.net应用程序登录到facebook,或者在html中也是如此。





这时当我点击BUTTON (asp.net按钮或Html按钮)我想检查facebook是否已登录,如果登录我想重定向到新页面,否则显示错误信息。



所以有人可以帮我解决这个问题吗?

I want to check whether any user is logged in to facebook using C#, Asp.net application, or else in html also its fine.


Here when I click on BUTTON (asp.net Button or Html button) I want to check whether facebook is logged in, and if logged in i want to redirect to new page, else display error message.

So can anyone help me to solve this problem?

推荐答案

facebook提供了Sdk,您可以使用它并获取有关用户的信息
facebook provides the Sdk for that you can use that and get information about user


尝试google有大约29,80,000个结果(0.30秒)



Facebook SDK for .NET入门和ASP.NET [ ^ ] < br $> b $ b

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



在ASP.NET和C#中获取用户的Facebook详细信息 [ ^ ]



C#应用程序与Facebook& amp; ; Twitter与oAuth [ ^ ]



在ASP.Net网站上使用FaceBook帐户登录 [ ^ ]



ASP.net C#Code创建Facebook登录按钮 [ ^ ]



你可以根据你的需要修改代码和设计只有你想法的参考链接.. :))
try to google there are About 29,80,000 results (0.30 seconds)

Getting Started with the Facebook SDK for .NET and ASP.NET[^]

Asp.net integrate Facebook login authentication to website[^]

Get user Facebook details in ASP.NET and C#[^]

C# Application Integration with Facebook & Twitter with oAuth[^]

Login with FaceBook account in ASP.Net Website[^]

ASP.net C# Code Behind creating a Facebook login button[^]

You can modify code and design according to your need there reference links only for your idea.. :)


这篇关于如何检查Facebook是否以C#,Asp.net或HTML登录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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