将值从asp.net页传递到Facebook页

问题描述:



我在asp.net中创建了一个社交网络项目,在我的项目中,将登录页面信息(例如用户名和密码)传递到Facebook登录页面并对其进行验证.如果用户名和密码正确,则从facebook获取用户信息.如何创建这种格式?请帮助我..

Hi,

I have create a social network project in asp.net.In my project, login page information such as username and password are pass to the facebook login page and validate it.If Username and Password are correct, then get the Users information from facebook. How to create this format? please help me..

我相信您的要求在本文中得到了回答:

使用ASP.NET开发Facebook Connect应用程序 [ http://www.asp.net/vnext/overview/视频/oauth-in-the-default-aspnet-45-模板 [
I believe what you are asking for is answered in this article:

Developing Facebook Connect Application using ASP.NET[^]

You are going to need to get your app authorized to talk to Facebook (not just with their username and password - the app has to be authorized too). If you want just Facebook authentication (or Twitter), you can use the new features of MVC:

http://www.asp.net/vnext/overview/videos/oauth-in-the-default-aspnet-45-templates[^]