Skip to content

Instantly share code, notes, and snippets.

@sorenlouv
Last active March 21, 2017 15:49
Show Gist options
  • Save sorenlouv/1ac0f5d316fcbd46d8c1 to your computer and use it in GitHub Desktop.
Save sorenlouv/1ac0f5d316fcbd46d8c1 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: "localhost"
  8. Site Url: "localhost:3000"

Remember to run npm run webpack after updating the app id

@artieuk
Copy link

artieuk commented Aug 10, 2016

Can someone please clarify something for me.... When I get my FB App ID, do you have to supply a URL for the App, and is the App ID then tied to that URL?

TIA

Artie

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