/ Authentication / Create Facebook App for Omniauth

1. Go to https://developers.facebook.com/

2. Then from the right hand side of the Navbar, click on My Apps > Add a New app

3. Choose Website

add new facebook app 1

4. Write your app name > Choose category > Create App ID

add new facebook app 2

5. Add your site url. Since we are testing the app from our local machine, we enter it as http://localhost:3000/ :

facebook app 3

6. At the top of the cover page, just click “Skip Quick Start”

7. You can now find your APP ID and APP SECRET on the dashboard. Copy this to put on your devise.rb config file

facebook app 5

8. Play around with Facebook Graph API: https://developers.facebook.com/tools/explorer/

No issues for this post.

by ryzalyusoff