Posts tagged with whatsapp

I am trying to configure or setup the production environment of whatsapp business api as mentioned in the link https://developers.facebook.com/docs/whatsapp/installation/prod-single-instance I have done everything mentioned in this my dockers are also running on port:9090 as can be seen in the image still I can't access it. Whenever I try to call https://localhost:9090 the error with "This site can’t be reached" occurs. Whatsapp business api does not have good documentation or tutorials till now. So this site is the only last way for me.

I am setting up whatsapp business api developer setup following this link https://developers.facebook.com/docs/whatsapp/installation/dev-single-instance I have done everything as mentioned. Using the latest version of Whatsapp api i.e. v2.23.4 The docker containers are also running and I can see the login page of whatsapp business at https://localhost:9090 but the moment I try to check the health mentioned in the above link i.e https//localhost:9090/v1/health it gives me an error stating URL NOT FOUND like below {"meta":{"version":"v2.23.4","api_status":"stable"},"errors":[{"code":1006,"title":"Resource not found","details":"URL path not found"}]} What am I doing wrong here? I also have tried this with https://localhost:9090/v2/health but still same error.

I am working on (built-in web apis) provided by whatsapp business api. As a newbie in .net core razor pages and web apis. I want to know how can I get access to the body of the post request api. Take an example below for sending a message

Post: {URL}/v1/messages Request Body: "to": "", "message_type:" "message_text:" "recipient_type: "individual | group"" 

How can I make a call to the builtin api and access the body parts of it? Ofcourse, we as a developer can use postman for checking the working of api. But take this as a client and for the client we have some fields like

To: Message: 

How can take these fields and put it into the api call body and then when the user click on the send, the api call works and shows whatever we want to show the user for example a model with send successfully etc.

What is a v1 in whatsapp business api. for instance, {{URL}}/v1/groups. And the URL, should it be "chat.whatsapp.com"?

I am trying to play with Whatsapp business api like sending messages through api to different whatsapp id's. As a newbie, I want to know what really is v1 in the api. Unfortunately, whatsapp documentation doesn't have much information right now.

I am trying to connect my WhatsApp Business Account with Facebook so that it shows my business name. As per https://www.facebook.com/business/help/2087193751603668?helpref=faq_content there shall be an option for WhatsApp Account in business.facebook.com under 'Business Settings' > Accounts. But it is not there. It also says:

If the WhatsApp accounts option is not visible, the Business API may not be available to you yet.

So can anyone guide how to get Business API access?