
Explore the WhatsApp cloud API in a C# .NET app to send and receive text and media messages, using API structures and models for cloud deployment.
Explore how the WhatsApp cloud API enables any business to use WhatsApp easily by interconnecting existing processes, with messages secured by the Signal Protocol encryption.
Prepare your development setup with Visual Studio 2022, .NET 7.0, and Postman, then deploy a web app on a free Azure subscription using two Azure services and Hub Services.
Set up a Meta for Developers account and a .NET app to explore the WhatsApp cloud API, sending text, media, location, and buttons via a webhook that interprets user messages.
Create a WhatsApp app in Meta, configure the API, use a test number, and send and receive messages via JSON templates, while managing templates and endpoints.
Test the WhatsApp API by sending a template message via postman, including setting up a collection, authorization token, JSON body, and verifying a 200 response and a delivered message.
Discover how to generate a permanent access token for WhatsApp API, secure it in an admin backed app, and use it with Postman to send template messages.
Learn to send text type messages with the WhatsApp cloud API using Postman, including token, content-type, and JSON body; non-template messages require recipient reply first.
Demonstrates sending a text message in different formats for WhatsApp using C# .NET, including bold, italic, strikethrough, and a code block.
Learn to send a text message with a YouTube URL preview by duplicating the API, updating the body with a phone number, and using a raw preview URL in Postman.
Learn to send image, audio, video, and document messages with the WhatsApp API in C# .NET by setting the type and URL, including jpeg/png, wav/mp3, pdf/xls/rpt, mp4, and wap/whip stickers.
Learn to send a location type message in the WhatsApp API with C# .NET by including latitude, longitude, name, and address, then verify it opens Google Maps.
Send an interaction type message with up to three buttons by crafting an interactive JSON payload, assigning unique IDs, and including a yes/no prompt with emojis.
Duplicate the button type message API, add a header and title to accompany the text and buttons, then send messages with an image, document, or video attachment (mp4).
Create a new ASP.NET Core Web API project in Visual Studio named WhatsApp, remove the default controller, add a WhatsApp controller with a sample get endpoint tested via Postman.
Design and implement a WhatsApp cloud API token verification flow in C# .NET, creating a get verify-token endpoint that validates a token and echoes the challenge for authentication.
Create a post endpoint in a C# .NET app to receive WhatsApp cloud API messages, map them to a WhatsApp cloud model, and return a 200 response.
Capture user messages from the WhatsApp cloud API by parsing the JSON body, navigating entry, change, value, and message fields, and extract the caller's number and text.
Create an asynchronous WhatsApp cloud message API by building a service, serializing the message model with JsonConvert, and posting to WhatsApp via HttpClient with bearer token authentication and dependency injection.
Test the WhatsApp messaging API by sending and receiving messages with a C# .NET backend, constructing the JSON body, posting via Postman, and validating bot responses.
Create and send text, image, audio, video, document, location, and interactive button messages via the WhatsApp API using a reusable C# .NET utility class, with dependency injection.
Receive user messages in a WhatsApp chatbot built with C#. Send responses for text, image, audio, video, location, document, and button via the WhatsApp cloud API, testing with postman.
Create Azure resources to publish the application: a resource group, a web app, and a free app service plan; then publish code to deploy WhatsApp bot via a https URL.
Publish your WhatsApp API project by downloading a publishing profile, deploying via web deploy to the cloud, and testing the published URL with Postman.
Configure your app to integrate with the WhatsApp cloud api by setting a public https url, configuring the webhook path, verifying the token, and subscribing to message events.
Detects general messages in a WhatsApp bot built with C# .NET, such as greetings, farewells, and thanks, and responds using a text message switch with uppercase normalization and conditional logic.
Learn to send multiple messages in a single WhatsApp API request by building a list of message objects, iterating to send each in order, including text and media types.
Add a real phone number to the WhatsApp cloud API, and configure the display name, time zone, and category for your verified business profile.
WhatsApp Business Cloud API
This course will help you use the WhatsApp Business Platform designed for individuals developing on their own or for their organization. All developers must adhere to WhatsApp's Commerce Policy.
If you want to send and receive an initial message with a test number from the Meta platform, you need to complete the following steps:
Set up developer assets and access to the platform
Send a test message
Set up a webhook
Receive a test message
Send and receive messages with WhatsApp API, C# .NET
Welcome to this course, where you will learn to consume the WhatsApp Cloud API services without the need to connect to a third party; the official WhatsApp APIs will be used.
You will understand each of the services for sending and receiving various types of messages such as: Images, audio, video, documents, stickers, buttons, option lists, and map locations.
We will create an application in C# .NET, using good programming practices, we will publish our application to the cloud, create a webhook for validation through authentication, and receive messages directly from WhatsApp.
In the end, we will create a real use case of user interaction with the developed application that will take on the role of a chatbot.