Hey everyone,
I’m currently consuming Direct Messages in real-time via webhooks, and when I try to send a message (on Twitter Web Client) from two different users for my App’s user at (almost) the same time, the message from the second user is sent twice to my server.
The duplicated message is slightly different, containing a field source_app_id:
"direct_message_events": [
{
...
"message_create": {
...
"source_app_id": "268278",
...
}
}
]
And a root block apps:
"apps": {
"268278": {
"id": "268278",
"name": "Twitter Web Client",
"url": "http://twitter.com"
}
}
I already solved this internally by persisting the event id and checking every request, but in order to save server load I believe that issue should be fixed.
If you guys found the same issue and have a better solution to workaround this let me know 
Thanks!