This application is ready to use and needs only few changes to make it work with a different app (ie. app key, app secret key).
After downloading the asp.net application(https://github.com/sbalak/fboauth/archive/master.zip) and creating a new fbapp(https://developers.facebook.com/apps/), follow the steps given below before you hit "Run". You can also run the MVC application without making any changes.
-
Go to https://github.com/sbalak/fboauth/blob/master/Application/Models/Constants.cs
-
Change BASE_URL with your own base url.
-
Replace FACEBOOK_APP_ID and FACEBOOK_SECRET with your own appid and appsecret.
Now hit RUN