-
Notifications
You must be signed in to change notification settings - Fork 142
Setup Facebook App
Geremia Taglialatela edited this page Sep 25, 2015
·
25 revisions
You need a verified Facebook account1
- Login to https://developers.facebook.com/
- Click on My Apps -> Add a New App
- Select Website
- Insert your app's name (eg:
My Icare
) and click on Create New Facebook App ID - Pick up a Category and click on Create App ID
- Click on Skip Quick Start
- Click on Settings on the left sidebar
- Set a Namespace (eg:
myicare
) - Fill in App Domains with your Application domain (eg:
myicare.herokuapp.com
) - Fill in Site URL with your Application url (eg:
http://myicare.herokuapp.com
) - Save changes, we are done!
We suggest you to create two applications, one for development and another one for staging/production.
For the local application, use http://lvh.me:3000/
as website entry. Rails 4.2.0+ will not respond to with its default settings, so you should run the server with rails s -b 127.0.0.1
. Note that lvh.me is a free online service that redirects all requests (including subdomains) to localhost
1 Note for Italian developers with H3G mobile phones: use the credit card verification process 'cause you will never receive the activation code via SMS :)