I have small problem with http 404 error, after click on 'allow' on facebook permissions page.
When I type http://localhost:port address in browser, I get same error:
cannot find /facebookredirect.axd/[app name]/default.aspx
After granting permissions (and after 404 error), when I want to use my app, I'm running it from my profile. Everything is fine and app works well.
You need to setup your web.config file correctly. See the getting started documentation for instructions on how to do that: http://facebooksdk.codeplex.com/wikipage?title=Getting%20Started&referringTitle=Documentation
I had a similar problem some time ago, I changed my web.config file, see the following:
I added this to the
httpHandlers
section insystem.web
:And added this to the
handlers
section insystem.webServer
:And lastly I set the Url's in the codebehind (this should post back to the original app url and you'll see the variables added depends on what the user clicks):
Make sure you are setting your facebook settings in the config file, e.g:
I'm not 100% sure if I used the same SDK version, but give it a try.