Create Facebook application
1. Goto https://developers.facebook.com , and click 'Log In' on the top right.
![](images/facebook/Facebook_login_button.png)
2. If you are not yet logged in to Facebook, you will be prompted to.
![](images/facebook/Facebook_login_form.png)
3. If you are not taken directly to the create app page. click on the 'Get Started' on the top right.
![](images/facebook/Facebook_get_started_button.png)
4. On this stage, you should choose the name of your application and enter your email and click Next.
![](images/facebook/Facebook_register_app.png)
5. After that, you have to confirm that you are not a robot.
![](images/facebook/Facebook_enter_captcha.png)
6. The next step is to select a user role. Choose role which best describes you.
![](images/facebook/Facebook_type_of_user.png)
7. Facebook has many developer 'Products', but the one we want is 'Facebook Login'
![](images/facebook/Facebook_add_product.png)
8. Fill in the app 'Display Name' and 'Contact Email'.
![](images/facebook/Facebook_app_credentials.png)
9. Click on 'WWW' to create a web app
![](images/facebook/Facebook_oauth_www.png)
10. For "Site Url', enter https://oauth.io , click 'Save', and click 'Continue'. You can click 'Next' till the end as the other steps shows you Javascripts snippets that you do not need.
![](images/facebook/Facebook_oauth_www_config.png)
11. You should now see 'Settings' on the left menu, please click on it.
![](images/facebook/Facebook_app_settings.png)
12. Fill in the 'Valid OAuth redirect URIs' with https://oauth.io/auth
![](images/facebook/Facebook_valid_oauth_uris.png)
13. Toggle the switch to make your app public.
![](images/facebook/Facebook_make_app_public.png)
14. In 'App Domains', fill in oauth.io. Note the 'App ID' and 'Secret Key'.
![](images/facebook/Facebook_app_domain.png)