I have an error with the function MarkMessageAsRead because that send request on PUT method but the Whatsapp API need a POST method
Error message:
Unsupported put request. Object with ID 'xxx' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-apiWhatsapp documentation MarkMessageAsRead
Version
v1.0.2
Solve Issue
Need to update code on file WhatsAppBusinessClient.cs at line 205 and 211 update WhatsAppBusinessPutAsync by WhatsAppBusinessPostAsync
PS: I have never do a pull request, I will be try tomorrow for this fix
Hi,
Thank you so much for this lib
I have an error with the function MarkMessageAsRead because that send request on
PUT
method but the Whatsapp API need aPOST
methodError message:
Unsupported put request. Object with ID 'xxx' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api
Whatsapp documentation MarkMessageAsReadVersion
v1.0.2
Solve Issue
Need to update code on file
WhatsAppBusinessClient.cs
at line205
and211
updateWhatsAppBusinessPutAsync
byWhatsAppBusinessPostAsync
PS: I have never do a pull request, I will be try tomorrow for this fix