Solvedfacebook chat api Cookie fail with messenger.com API

Hi,
Since today or yesterday it seems Facebook change the way to set cookie with messenger.com API.

It seems every methods like sendMessage work, but every methods that use messenger.com fail with :

ERR! changeGroupImage { error: 'Not logged in.' }

I also checked changeThreadColor (use messenger API too), same result.

30 Answers

✔️Accepted Answer

I found a fix, but only tested with api.changeThreadColor and api.changeThreadEmoji.
I changed messenger.com to facebook.com in

"https://www.messenger.com/messaging/save_thread_emoji/?source=thread_settings&__pc=EXP1%3Amessengerdotcom_pkg",

And the same in with changeThreadColor.js.
And it works fine.

Other Answers:

Thanks @Theblood. I've redacted a couple of fields from your cookie information. As a reminder to everyone, sharing your cookies publicly for most sites is equivalent to providing the public with your login information, they can generally just get access to your logged in session. You may want to log out and back in on that machine to be safe, even though I deleted the creds.

Bump, looking for a fix

Related Issues:

8
facebook chat api Cookie fail with messenger.com API
I found a fix but only tested with api.changeThreadColor and api.changeThreadEmoji ...