The CSASPNETwebsite sample shown in the release 4.2.1 is not able to authenticate the user. I am not sure where i have to provide appsecret and appid other than providing the appid in the login page script. And also the login button is not showing in the login page, i think we ha开发者_如何转开发ve to add the tag in the site.master page
xmlns:fb="http://www.facebook.com/2008/fbml"
I think that is an extra unused sample.. there's no Facebook integration in it (I'm a developer and I typically handle the samples... I saw that one the other day and asked one of the other developers about). Use one of the other samples.
BTW, your appid/secret will go in the Web.Config.
DevTheo
Here is a good sample app for facebook auth 2.0 using facebook sdk from codeplex. It uses CSASPNETFacebookApp Facebook Auth 2.0 with facebooksdk from codeplex
精彩评论