Add facebook api key instructions

This commit is contained in:
Sahat Yalkabov
2014-01-26 20:38:56 -05:00
parent f36fa1e0f7
commit 102d504965

View File

@ -66,7 +66,7 @@ Obtaining API Keys
------------------ ------------------
<img src="http://images.google.com/intl/en_ALL/images/srpr/logo6w.png" width="200"> <img src="http://images.google.com/intl/en_ALL/images/srpr/logo6w.png" width="200">
- Go to [https://cloud.google.com/console/project](https://cloud.google.com/console/project) - Visit [Google Cloud Console](https://cloud.google.com/console/project)
- Click **CREATE PROJECT** button - Click **CREATE PROJECT** button
- Enter *Project Name*, then click **CREATE** - Enter *Project Name*, then click **CREATE**
- Then select *APIs & auth* from the sidebar and click on *Credentials* tab - Then select *APIs & auth* from the sidebar and click on *Credentials* tab
@ -80,6 +80,17 @@ Obtaining API Keys
> your new url to Authorized Javascript origins and Authorized redirect URI, > your new url to Authorized Javascript origins and Authorized redirect URI,
> e.g. `http://my-awesome-app.herokuapp.com` and `http://my-awesome-app.herokuapp.com/auth/google/callback` respectively. > e.g. `http://my-awesome-app.herokuapp.com` and `http://my-awesome-app.herokuapp.com/auth/google/callback` respectively.
<img src="http://www.doit.ba/img/facebook.jpg" width="200">
- Visit [Facebook Developers](https://developers.facebook.com/)
- Click **Apps > Create a New App** in the navigation bar
- Enter *Display Name*, then choose a category, then click **Create app**
- Copy and paste *App ID* and *App Secret* keys into `config/secrets.js`
- Click on *Settings* on the sidebar, then click **+ Add Platform**
- Select **Website**
- Enter `http://localhost:3000` for *Site URL*
Recommended Node.js Libraries Recommended Node.js Libraries
----------------------------- -----------------------------
- nodemon - automatically restart node.js server on code change. - nodemon - automatically restart node.js server on code change.