Schmavery / facebook-chat-api

Unofficial Facebook Chat API for Nodejs
MIT License
1.94k stars 597 forks source link

Receiving message is broken #786

Open mut4nt opened 4 years ago

mut4nt commented 4 years ago

Hi,

Today I tested with 3 differents machines, 2 differents internet connections. But listen doesn't work. The callback is not fired. It seems there is some change on facebook?

I already have the last version 1.7.0.

Sincerely,

HossamMohsen7 commented 4 years ago

Make sure you're listening with listenMqtt and not listen.

BadAimWeeb commented 4 years ago

listen is deprecated, use listenMqtt instead.

mut4nt commented 4 years ago

Hi,

Yes it worked!

Thanks.


From: notifications@github.com notifications@github.com Sent: Saturday, February 1, 2020 7:59:34 AM To: Schmavery/facebook-chat-api facebook-chat-api@noreply.github.com Cc: mut4nt atim@outlook.fr; Author author@noreply.github.com Subject: Re: [Schmavery/facebook-chat-api] Receiving message is broken (#786)

listen is deprecated, use listenMqtt instead.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Schmavery/facebook-chat-api/issues/786?email_source=notifications&email_token=ACR22ALO5PSD4EWVC2E32UDRAT6TNA5CNFSM4KOJ7K3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKQT6BA#issuecomment-580992772, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACR22APTQ7BL2TDF3YX5V7LRAT6TNANCNFSM4KOJ7K3A.

mut4nt commented 4 years ago

But where guys did you read listen is deprecated? I re-read the documentation I still missed it.

BadAimWeeb commented 4 years ago

oh, I haven't mark it as deprecated yet, but it will soon be replaced with listenMqtt. (it's the default protocol to receive chat in facebook now.)

mut4nt commented 4 years ago

Ok ok. Anyway it's a great job. Your API is a core need in my project.


From: notifications@github.com notifications@github.com Sent: Monday, February 3, 2020 6:13:48 PM To: Schmavery/facebook-chat-api facebook-chat-api@noreply.github.com Cc: mut4nt atim@outlook.fr; Author author@noreply.github.com Subject: Re: [Schmavery/facebook-chat-api] Receiving message is broken (#786)

oh, I haven't mark it as deprecated yet, but it will soon be replaced with listenMqtt.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Schmavery/facebook-chat-api/issues/786?email_source=notifications&email_token=ACR22APPIOQ3LL5CTBTECHLRBAYCZA5CNFSM4KOJ7K3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKUGLZY#issuecomment-581461479, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACR22AMD2RCJHNH6SVSENCTRBAYCZANCNFSM4KOJ7K3A.