Skip to content

The Whatsapp Hook to be provided to meta developers

Notifications You must be signed in to change notification settings

devsampras/whatsapp_hook

Repository files navigation

Whatsapp WebHook

Whatsapp Webhook is the .NET Core hook for whatsapp business. it allow you to intercept events on your Whatsapp Business Account using the Meta Developers Dashboard.

The only necessary condition for working with Whatsapp Webhook is that you need to run this service with HTTPS protocol.

Afterwards, you can configure an App on the Meta Developers Dashboard, specifying the hook url and the token made by yourself.

Remeber to change your token in the code in Controllers/WebhookController.cs at line 14:

if (mode == "subscribe" && token == "YOUR_VERIFICATION_TOKEN")

then rebuild the project:

dotnet build