From de4e3f93cbb5491c149644bceb82c4eb927ce8ea Mon Sep 17 00:00:00 2001 From: Sahat Yalkabov Date: Sat, 1 Feb 2014 00:45:15 -0500 Subject: [PATCH 1/3] Added foursquare instructions Fixes #29 --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index d597125da2..8de360ffed 100644 --- a/README.md +++ b/README.md @@ -141,6 +141,7 @@ Obtaining API Keys - Under *Application Type* select **Read and Write** access - Check the box **Allow this application to be used to Sign in with Twitter** - Click **Update this Twitter's applications settings** +- Copy and paste *Consumer Key* and *Consumer Secret* keys into `config/secrets.js`
@@ -153,6 +154,18 @@ Obtaining API Keys - *App ID* is **client_id**, *App Secret* is **client_secret** - Change **host** to api.paypal.com if you want to test against production and use the live credentials +
+ + +- Go to [foursquare for Developers](https://developer.foursquare.com/) +- Click on **My Apps** in the top menu +- Click the **Create A New App** button +- Enter *App Name*, *Welcome page url*, +- For **Redirect URI**: http://localhost:3000/auth/foursquare/callback +- Click **Save Changes** +- Copy and paste *Client ID* and *Client Secret* keys into `config/secrets.js` + + Project Structure ----------------- From 39e11017c9949bc6e72977d2dd26ecb81e5741b4 Mon Sep 17 00:00:00 2001 From: Sahat Yalkabov Date: Sat, 1 Feb 2014 00:50:16 -0500 Subject: [PATCH 2/3] Added Tumblr instructions Fixed #30 --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 8de360ffed..be98f3ac1b 100644 --- a/README.md +++ b/README.md @@ -165,6 +165,15 @@ Obtaining API Keys - Click **Save Changes** - Copy and paste *Client ID* and *Client Secret* keys into `config/secrets.js` +
+ + +- Go to http://www.tumblr.com/oauth/apps +- Once signed in, click **+ Register application** +- Fill in all the details +- For **Default Callback URL**: http://localhost:3000/auth/tumblr/callback +- Click **✔ Register** +- Copy and paste *OAuth consumer key* and *OAuth consumer secret* keys into `config/secrets.js` Project Structure ----------------- From 8a6bd5910ec5bb6715101202c6c2a7c3268e57b0 Mon Sep 17 00:00:00 2001 From: Sahat Yalkabov Date: Sat, 1 Feb 2014 00:54:41 -0500 Subject: [PATCH 3/3] Update README.md --- README.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index be98f3ac1b..e0d6e2df59 100644 --- a/README.md +++ b/README.md @@ -90,7 +90,6 @@ need to go through each provider to generate new credentials. Obtaining API Keys ------------------ - - Visit [Google Cloud Console](https://cloud.google.com/console/project) - Click **CREATE PROJECT** button @@ -102,9 +101,7 @@ Obtaining API Keys - **Authorized redirect URI**: http://localhost:3000/auth/google/callback - Copy and paste *Client ID* and *Client secret* keys into `config/secrets.js` ->:exclamation: **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. +:exclamation: **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. The same goes for other providers.
@@ -169,10 +166,10 @@ Obtaining API Keys - Go to http://www.tumblr.com/oauth/apps -- Once signed in, click **+ Register application** +- Once signed in, click **+Register application** - Fill in all the details - For **Default Callback URL**: http://localhost:3000/auth/tumblr/callback -- Click **✔ Register** +- Click **✔Register** - Copy and paste *OAuth consumer key* and *OAuth consumer secret* keys into `config/secrets.js` Project Structure