Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read property 'user_id' of undefined #5

Open
rafaelkapela opened this issue Aug 25, 2014 · 6 comments
Open

Cannot read property 'user_id' of undefined #5

rafaelkapela opened this issue Aug 25, 2014 · 6 comments

Comments

@rafaelkapela
Copy link

I get this error, when return from facebook token:
TypeError: Cannot read property 'user_id' of undefined
at Request._callback (/Users/Feonx/Projecten/node_modules/tinderbot/tinderbot.js:107:23)
at Request.self.callback (/Users/Feonx/Projecten/node_modules/tinderbot/node_modules/request/request.js:121:22)
at Request.emit (events.js:98:17)
at Request. (/Users/Feonx/Projecten/node_modules/tinderbot/node_modules/request/request.js:978:14)
at Request.emit (events.js:117:20)
at IncomingMessage. (/Users/Feonx/Projecten/node_modules/tinderbot/node_modules/request/request.js:929:12)
at IncomingMessage.emit (events.js:117:20)
at _stream_readable.js:938:16
at process._tickCallback (node.js:419:13)

@CaptainJeff
Copy link

I get this same error.

At first I had a missing Jade dependency in the package.json so i added jade:"*" and did a npm install, and now when i run it i get the same error as above.

@heyalexchoi
Copy link

same problem here. anyone find a solution?

@picsoung
Copy link

interested if you have found a solution :)

@ssfgreen
Copy link

ssfgreen commented Jan 9, 2015

Yup...fixed 'jade issue', can't find a simple solution to this one.

@Morgester
Copy link

Make sure you put quotations around your app id and app secret.

bot.FBClientId = "AppIdHere";
bot.FBClientSecret = "AppSecretHere";

@tmcpro
Copy link

tmcpro commented Aug 14, 2015

make sure that you are going to the /login URL and not the /fbtoken

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants