From 102d504965e90b68a4ad3231d33923ab1fac7854 Mon Sep 17 00:00:00 2001 From: Sahat Yalkabov Date: Sun, 26 Jan 2014 20:38:56 -0500 Subject: [PATCH] Add facebook api key instructions --- README.md | 29 ++++++++++++++++++++--------- 1 file changed, 20 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index baef45b44f..b00984780d 100644 --- a/README.md +++ b/README.md @@ -66,20 +66,31 @@ Obtaining API Keys ------------------ - - Go to [https://cloud.google.com/console/project](https://cloud.google.com/console/project) - - Click **CREATE PROJECT** button - - Enter *Project Name*, then click **CREATE** - - Then select *APIs & auth* from the sidebar and click on *Credentials* tab - - Click **CREATE NEW CLIENT ID** button - - **Application Type**: Web Application - - **Authorized Javascript origins**: http://localhost:3000 - - **Authorized redirect URI**: http://localhost:3000/auth/google/callback - - Copy and paste *Client ID* and *Client secret* keys into `config/secrets.js` +- Visit [Google Cloud Console](https://cloud.google.com/console/project) +- Click **CREATE PROJECT** button +- Enter *Project Name*, then click **CREATE** +- Then select *APIs & auth* from the sidebar and click on *Credentials* tab +- Click **CREATE NEW CLIENT ID** button + - **Application Type**: Web Application + - **Authorized Javascript origins**: http://localhost:3000 + - **Authorized redirect URI**: http://localhost:3000/auth/google/callback +- Copy and paste *Client ID* and *Client secret* keys into `config/secrets.js` > **Note**: When you ready to deploy to production don't forget to add > 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. + + +- 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 ----------------------------- - nodemon - automatically restart node.js server on code change.