I have setup a facebook app, configured it to point to my localhost and created a tab in facebook to point to the local app.
All works fine and the initial load renders my page fine and the user is authenticated when I check FacebookWebContext.Current.IsAuthenticated().
My problem is that when I post data back, the facebook context is lost and FacebookWebContext.Current.IsAuthenticated() returns false.
Not sure if I am missing something here, but surely I should be able to post back to controller actions and stay authenticated?
you need to manually maintain the signed request for post backs.
Refer to this discussion on more information http://facebooksdk.codeplex.com/discussions/255100
You could also use this html helper extensions method
instead of