Instagram/Realtime-Demo — Issue #3: problem with helper.js
Author: spajennios
Created: 2011-11-30 21:13:17+00:00
State: open

I am having trouble setting this up on my local machine. In helpers.isValidRequest, request.rawBody is not present in the data sent from Instagram. Does anyone know how to resolve this?

Debug:
TypeError: Not a string or buffer
at Object.isValidRequest (/web/asalant/helpers.js:12:10)
at /web/asalant/server.js:30:16
at callbacks (/web/asalant/node_modules/express/lib/router/index.js:272:11)
at param (/web/asalant/node_modules/express/lib/router/index.js:246:11)
at param (/web/asalant/node_modules/express/lib/router/index.js:243:11)
at pass (/web/asalant/node_modules/express/lib/router/index.js:253:5)
at Router._dispatch (/web/asalant/node_modules/express/lib/router/index.js:280:4)
at Object.handle (/web/asalant/node_modules/express/lib/router/index.js:45:10)
at next (/web/asalant/node_modules/express/node_modules/connect/lib/http.js:203:15)
at IncomingMessage. (/web/asalant/node_modules/express/node_modules/connect/lib/middleware/bodyParser.js:120:7)