CondeNast / launch-vehicle-fbm

An event driven SDK for Facebook Messenger
https://launch-vehicle-fbm.readthedocs.io/en/latest/
Apache License 2.0
13 stars 3 forks source link

Facebook occasionally sends duplicates #83

Open crccheck opened 6 years ago

crccheck commented 6 years ago

Facebook will occasionally send the same message twice to the bot. This usually results in duplicate responses getting sent. Example:

user: Hello bot: Hello world bot: Hello world

We should detect when Facebook does this and ignore duplicates. The seq might be a clue.

step 1: identify duplicate messages