fbchat-dev / fbchat-dev/fbchat

Deleting messages

Open
#376 5 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.