how to delete a message

1k Views Asked by At

I try to delete a message from my inbox. But i get 100 invailid parameter exception I use csharp sdk

FacebookWebClient fbw = new FacebookWebClient(accesstoken);
fbw.Delete("/userid_messageid");

2

There are 2 best solutions below

0
On

Did your app create that message in the first place? If not, then you cannot delete it.

0
On

There's no way to delete inbox messages with current API's. Permission about inbox is read-only.