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

Signing in with stored credentials now produces this error #16

Open
Davidi74 opened this issue Jul 10, 2021 · 2 comments
Open

Signing in with stored credentials now produces this error #16

Davidi74 opened this issue Jul 10, 2021 · 2 comments

Comments

@Davidi74
Copy link

Hi,

It appears something has changed and now getting this error.

It seems to work when signing in using username/password

Error: Cookie not in this host's domain. Cookie:www.facebook.com Request:www.messenger.com
at CookieJar.setCookie (C:\fb\node_modules\tough-cookie\lib\cookie.js:1133:15)
at CookieJar.setCookie (C:\fb\node_modules\universalify\index.js:5:67)
at CookieJar.setCookieSync (C:\fb\node_modules\tough-cookie\lib\cookie.js:1642:17)
at Jar.setCookie (C:\fb\node_modules\ts-messenger-api\dist\lib\jar.js:9:26)
at C:\fb\node_modules\ts-messenger-api\dist\lib\utils.js:572:17
at Array.forEach ()
at C:\fb\node_modules\ts-messenger-api\dist\lib\utils.js:567:17
at processTicksAndRejections (node:internal/process/task_queues:96:5)

@thvozdovic
Copy link

Same issue here, @makiprogrammer is this project still maintained?

@lv185039
Copy link

lv185039 commented Nov 8, 2021

This issue is due to the way cookies are handled and written to the appstate. I have fixed this in my own internal fork of this repo, I will look over this repo and see if I can suggest a fix for it.

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

3 participants