更新时间:2021-12-30 21:35:26
使用 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[^]
请查看博文: 使用facebook和图形API登录
他们还有一步一步的流程为Google+唱歌文章: ASP.NET - 使用Google Plus API登录Google Plus
以及此处的演示:演示 - 在ASP.NET中使用Google+登录。。其中还有针对不同社交媒体签名API的演示。
希望这会有所帮助。
Please take a look at the blog post: login with facebook and graph API
They also have step by step process for Google+ singIn article: ASP.NET - Signin with Google plus using Google Plus API
and a demo here: Demo - SignIn with Google+ in ASP.NET.. Which has also demo for different social media sign APIs.
Hope this helps.