Skip to content

Instantly share code, notes, and snippets.

@JuryA
Forked from sorenlouv/facebook-local-app.MD
Created April 2, 2016 23:44
Show Gist options
  • Save JuryA/d191b2a716f85798efd12c1d7209ee43 to your computer and use it in GitHub Desktop.
Save JuryA/d191b2a716f85798efd12c1d7209ee43 to your computer and use it in GitHub Desktop.
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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment