facebook-chat-api icon indicating copy to clipboard operation
facebook-chat-api copied to clipboard

Receiving message is broken

Open mut4nt opened this issue 5 years ago • 6 comments

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,

mut4nt avatar Jan 31 '20 16:01 mut4nt

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

HossamMohsen7 avatar Jan 31 '20 16:01 HossamMohsen7

listen is deprecated, use listenMqtt instead.

BadAimWeeb avatar Feb 01 '20 04:02 BadAimWeeb

Hi,

Yes it worked!

Thanks.


From: [email protected] [email protected] Sent: Saturday, February 1, 2020 7:59:34 AM To: Schmavery/facebook-chat-api [email protected] Cc: mut4nt [email protected]; Author [email protected] 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 avatar Feb 03 '20 14:02 mut4nt

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

mut4nt avatar Feb 03 '20 15:02 mut4nt

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.)

BadAimWeeb avatar Feb 03 '20 15:02 BadAimWeeb

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


From: [email protected] [email protected] Sent: Monday, February 3, 2020 6:13:48 PM To: Schmavery/facebook-chat-api [email protected] Cc: mut4nt [email protected]; Author [email protected] 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.

mut4nt avatar Feb 03 '20 15:02 mut4nt