Basic Question: How to configure backend URL #56
-
Hi, |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 4 replies
-
Hi, if you are testing the webhook by debugging the project you will need to use dev tunnels from visual studio or you can use conveyor extension to test the backend URL since it needs to receive verification from meta. The callback URL is the full URL pointing to the webhook route but it will need to go through the same verification process from meta. |
Beta Was this translation helpful? Give feedback.
-
thanks a lot, but what is the "ull URL pointing to the webhook route" in my case assuming that i published the solution on the following url http://www.xyz.com/endpoint/(????what should i write here???) |
Beta Was this translation helpful? Give feedback.
-
Hi, |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot, i will check. and also it will be great if i can contact you on whatsapp, my number is 0096597205246 for some business opportunity in the same domain. it will be great if you contact me. |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot, i will check. and also it will be great if i can contact you on whatsapp, my number is 0096597205246 for some business opportunity in the same domain. it will be great if you contact me. |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot, i will check. and also it will be great if i can contact you on whatsapp, my number is 0096597205246 for some business opportunity in the same domain. it will be great if you contact me. |
Beta Was this translation helpful? Give feedback.
-
Hi there Im still stuck.. If my WebHook URL is: http://www.MySite.com/Webhook
then there should be a controller called WebhookController.cs In this file I should have
|
Beta Was this translation helpful? Give feedback.
-
I have fixed it and built some methods in the sample app.
When i make a pull request, you can check if you want to include it in the main of your repo
Thanx
Get BlueMail for Android
…On 8 Mar 2024, 22:34, at 22:34, Gabriel Odero ***@***.***> wrote:
For minimal api since I have not done projects with it, you have to
place the webhook code to program.cs file. The sample app does not have
a working webhook code for testing since you have to configure it with
any value for verifytoken for it to be active from the subscription
options provided by Meta and the project has to be online when
debugging for it to work other way you can simulate with postman and
get the webhook payload from the documentation. I only had code when I
was testing webhook with a local tunnel sent by Meta.
[Webhook
documentation](https://developers.facebook.com/docs/whatsapp/cloud-api/webhooks/components/#webhooks-notification-payload-reference)
[Webhook payload
examples](https://developers.facebook.com/docs/whatsapp/cloud-api/webhooks/payload-examples)
--
Reply to this email directly or view it on GitHub:
#56 (reply in thread)
You are receiving this because you commented.
Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
Check your whatsapp cloud api credentials and make sure the access token is not expired