fbchat-dev / fbchat-dev/fbchat
Deleting messages
Open
enhancement
- Dominant language
- Python
- Stars
- 1.2k
- Forks
- 403
- PR merge metrics
- No merged PRs in 30d
Description
Facebook recently added the ability to delete messages. This was implemented as `unsending` by @kapi2289 in #333, but that might be broken now?
I just looked into it, seems like message deletion moved to `https://www.facebook.com/ajax/mercury/delete_messages.php`, which you POST with:
```py
"message_ids[0]": "mid.XYZ"
```
Plus all the other usual Facebook cruft.
This suggests that we may be able to delete multiple messages at once? Don't have the time to investigate further right now.
Contributor guide
Assessment
This issue has not been assessed yet.