使用Facebook和Twitter登录ASP.NET Web API [英] ASP.NET Web API login with Facebook and Twitter

查看:88
本文介绍了使用Facebook和Twitter登录ASP.NET Web API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将潜入ASP.NET Web API并想知道是否有一种简单的方法让我的用户使用Facebook和Twitter登录?

I''m going to be diving into ASP.NET Web API and would like to know if there is an easy way to have my users login with Facebook and Twitter?

推荐答案

使用 OAuth



看看这些:

对于Facebook:

Facebook:OAuth Dialog [ ^ ]

使用Web使用OAuth 2.0的API [ ^ ]

示例: C#Application with Facebook& Twitter与oAuth [ ^ ]





对于Google:

使用OAuth 2.0访问Google API [ ^ ]

使用OAuth 2.0 for Web服务器应用程序 [ ^ ]

示例:使用带有OAuth 2.0的Web API [ ^ ]
Using OAuth.

Have a look at these:
For Facebook:
Facebook: OAuth Dialog[^]
Using Web APIs with OAuth 2.0[^]
Sample: C# Application Integration with Facebook & Twitter with oAuth[^]


For Google:
Using OAuth 2.0 to Access Google APIs[^]
Using OAuth 2.0 for Web Server Applications[^]
Sample: Using Web APIs with OAuth 2.0[^]


面向ASP.NET开发人员的Twitter API

1.http://stackoverflow.com/questions/12218199/asp-net-web-api-login-with-facebook-twitter [< a href =http://stackoverflow.com/questions/12218199/asp-net-web-api-login-with-facebook-twittertarget =_ blanktitle =New Window> ^ ]

2.http:// www。 aspdotnet-suresh.com/2012/05/add-twitter-login-authentication-to.html [ ^ ]

3.https://dev.twitter.com/discussions/593 [ ^ ]
Twitter API for ASP.NET developers
1.http://stackoverflow.com/questions/12218199/asp-net-web-api-login-with-facebook-twitter[^]
2.http://www.aspdotnet-suresh.com/2012/05/add-twitter-login-authentication-to.html[^]
3.https://dev.twitter.com/discussions/593[^]


这篇关于使用Facebook和Twitter登录ASP.NET Web API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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