Skip to content
This repository has been archived by the owner on Jul 9, 2022. It is now read-only.

ParseAndCheckLogin error when there are more than four people in a conversation #182

Closed
AllanWang opened this issue Feb 26, 2016 · 5 comments

Comments

@AllanWang
Copy link
Contributor

Everything was working well until about a week ago. Now, whenever there are more than four people in the conversation, I am getting this error:

ERR! Error in getUserInfo Error: parseAndCheckLogin got status code: 404. Bailing out of trying to parse response. ERR! Error in getUserInfo at C:\Users\user1\PA\AB\node_modules\facebook-chat-api\utils.js:505:42 ERR! Error in getUserInfo at tryCatcher (C:\Users\user1\PA\AB\node_modules\bluebird\js\main\util.js:26:23) ERR! Error in getUserInfo at Function.Promise.attempt.Promise.try (C:\Users\user1\PA\AB\node_modules\bluebird\js\main\method.js:31:24) ERR! Error in getUserInfo at C:\Users\user1\PA\AB\node_modules\facebook-chat-api\utils.js:490:24 ERR! Error in getUserInfo at tryCatcher (C:\Users\user1\PA\AB\node_modules\bluebird\js\main\util.js:26:23) ERR! Error in getUserInfo at Promise._settlePromiseFromHandler (C:\Users\user1\PA\AB\node_modules\bluebird\js\main\promise.js:507:31) ERR! Error in getUserInfo at Promise._settlePromiseAt (C:\Users\user1\PA\AB\node_modules\bluebird\js\main\promise.js:581:18) ERR! Error in getUserInfo at Promise._settlePromises (C:\Users\user1\PA\AB\node_modules\bluebird\js\main\promise.js:697:14) ERR! Error in getUserInfo at Async._drainQueue (C:\Users\user1\PA\AB\node_modules\bluebird\js\main\async.js:123:16) ERR! Error in getUserInfo at Async._drainQueues (C:\Users\user1\PA\AB\node_modules\bluebird\js\main\async.js:133:10) ERR! Error in getUserInfo at Immediate.Async.drainQueues [as _onImmediate] (C:\Users\user1\PA\AB\node_modules\bluebird\js\main\async.js:15:14) ERR! Error in getUserInfo at processImmediate [as _immediateCallback] (timers.js:383:17) ERR! Error in getUserInfo [Error: parseAndCheckLogin got status code: 404. Bailing out of trying to parse response.] Unhandled rejection Error: parseAndCheckLogin got status code: 404. Bailing out of trying to parse response. at C:\Users\user1\PA\AB\node_modules\facebook-chat-api\utils.js:505:42 at tryCatcher (C:\Users\user1\PA\AB\node_modules\bluebird\js\main\util.js:26:23) at Function.Promise.attempt.Promise.try (C:\Users\user1\PA\AB\node_modules\bluebird\js\main\method.js:31:24) at C:\Users\user1\PA\AB\node_modules\facebook-chat-api\utils.js:490:24 at tryCatcher (C:\Users\user1\PA\AB\node_modules\bluebird\js\main\util.js:26:23) at Promise._settlePromiseFromHandler (C:\Users\user1\PA\AB\node_modules\bluebird\js\main\promise.js:507:31) at Promise._settlePromiseAt (C:\Users\user1\PA\AB\node_modules\bluebird\js\main\promise.js:581:18) at Promise._settlePromises (C:\Users\user1\PA\AB\node_modules\bluebird\js\main\promise.js:697:14) at Async._drainQueue (C:\Users\user1\PA\AB\node_modules\bluebird\js\main\async.js:123:16) at Async._drainQueues (C:\Users\user1\PA\AB\node_modules\bluebird\js\main\async.js:133:10) at Immediate.Async.drainQueues [as _onImmediate] (C:\Users\user1\PA\AB\node_modules\bluebird\js\main\async.js:15:14) at processImmediate [as _immediateCallback] (timers.js:383:17)

The project is in the AB folder. I've tried reinstalling npm and readding the node_modules but it still doesn't seem to be working.

@bsansouci
Copy link
Collaborator

This seems like the same issue as #178. Making a request to /chat/user_info returns an error. Could you do what I said here and upload the file as @ErmanSayin did?

@Unpaid8503
Copy link

@asdfasdfvful You're not meant to send your cookies publicly

@AllanWang
Copy link
Contributor Author

I'll remove it for now. But I still have the file if anyone needs to check it. Unfortunately I've just started with javascript and coding in general so I'm not sure what it means.

@bsansouci
Copy link
Collaborator

Those cookies allow anyone to login as that person ;)
Can you send them by email to benjamin.sansouci@gmail.com?

@Schmavery
Copy link
Owner

I'm going to close this as a duplicate and refer you to #178 for updates.

Schmavery added a commit that referenced this issue Feb 28, 2016
how2945ard pushed a commit to how2945ard/facebook-chat-api that referenced this issue May 30, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants