JuryA
4/2/2016 - 11:44 PM

Getting a Facebook app id to use for fb-sleep-stats

Getting a Facebook app id to use for fb-sleep-stats

Choose either option A or option B.

Option A: Fast way

Facebook App Id: 435522656639081

Update: Facebook has closed the app above, and you must setup your own Facebook app. Follow the instructions in option B below.

Option B: Setup your own Facebook app

Use this options, if you want to run the service from any other domain than localhost

  1. Open https://developers.facebook.com/apps
  2. Click "Add a new app"
  3. Choose "Website"
  4. Click through the setup guide
  5. In "Dashboard" copy "App ID" to config/development.json config
  6. Choose "Settings" in left-hand menu
  7. App Domains: "<your app domain>"
  8. Site Url: "<your site url>" (must have port 3000, eg. http://localhost:3000/)

Remember to run npm run webpack after updating the app id