Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

dev dependencies, readme tweak, sample config

  • Loading branch information...
commit 387fdc14507c2fd6db1716b8361e42f8e3bb28c4 1 parent 441ba31
Tom Carden authored March 01, 2012
3  .gitignore
@@ -2,4 +2,5 @@ test/config.js
2 2
 node_modules
3 3
 nodemon-ignore
4 4
 .monitor
5  
-.idea
  5
+.idea
  6
+npm-debug.log
5  package.json
@@ -21,6 +21,9 @@
21 21
   "dependencies": {
22 22
     "log4js": "0.3.x"
23 23
   },
  24
+  "devDependencies": {
  25
+    "express": "~2.5.0"
  26
+  },
24 27
   "engines": {
25 28
     "node": ">= 0.4.x"
26 29
   },
@@ -33,4 +36,4 @@
33 36
   "scripts": {
34 37
     "test": "node test.js"
35 38
   }
36  
-}
  39
+}
8  readme.md
Source Rendered
@@ -131,10 +131,10 @@ Testing
131 131
 
132 132
 To test, you need to create a config.js file in the /test directory as follows:
133 133
 
134  
-    exports.config = {
  134
+    module.exports = {
135 135
       "secrets" : {
136  
-        "clientId" : [YOUR_CLIENT_ID],
137  
-        "clientSecret" : [YOUR_CLIENT_SECRET],
  136
+        "clientId" : "YOUR_CLIENT_ID",
  137
+        "clientSecret" : "YOUR_CLIENT_SECRET",
138 138
         "redirectUrl" : "http://localhost:3000/callback" // This should also be set in your OAuth profile.
139 139
       }
140 140
     };
@@ -168,4 +168,4 @@ Notes
168 168
 This module is a read-only subset of the full Foursquare API, but further capability, (adding, posting, updating, etc),
169 169
 is forthcoming. Bugs and Pull Requests are, of course, accepted! :-)
170 170
 
171  
-This project is a refactoring and enhancement of: https://github.com/yikulju/Foursquare-on-node
  171
+This project is a refactoring and enhancement of: https://github.com/yikulju/Foursquare-on-node
9  test/config-sample.js
... ...
@@ -0,0 +1,9 @@
  1
+// sign up at https://foursquare.com/oauth/register
  2
+// copy this file to config.js and edit the values below 
  3
+module.exports = {
  4
+  "secrets" : {
  5
+    "clientId" : "YOUR_ID",
  6
+    "clientSecret" : "YOUR_SECRET",
  7
+    "redirectUrl" : "http://localhost:3000/callback" // This should also be set in your OAuth profile.
  8
+  }
  9
+};

0 notes on commit 387fdc1

Please sign in to comment.
Something went wrong with that request. Please try again.