https://github.com/fbsamples/whatsapp-api-examples
Examples of how to use WhatsApp Cloud API on the WhatsApp Business Platform
https://github.com/fbsamples/whatsapp-api-examples
Last synced: 11 months ago
JSON representation
Examples of how to use WhatsApp Cloud API on the WhatsApp Business Platform
- Host: GitHub
- URL: https://github.com/fbsamples/whatsapp-api-examples
- Owner: fbsamples
- License: other
- Created: 2022-06-01T05:20:10.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-06T11:34:42.000Z (about 2 years ago)
- Last Synced: 2025-03-30T03:03:28.661Z (11 months ago)
- Language: JavaScript
- Homepage:
- Size: 389 KB
- Stars: 229
- Watchers: 13
- Forks: 146
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# WhatsApp Business Platform and Cloud API Examples
This repository is a hub for examples of how developers can use Cloud API, hosted by Meta, on the [WhatsApp Business Platform](https://business.whatsapp.com/learn-more/).
## Directory
1. [message-templates-js](message-templates-js) - A WhatsApp application that demonstrates creating and using message templates, as described in [this blog post](https://business.whatsapp.com/blog/manage-message-templates-whatsapp-business-api).
**Note:** there are two app versions in this subdirectory - one is a [boilerplate code](whatsapp-api-message-templates/boilerplate) for the application, and one is a [complete version](whatsapp-api-message-templates/complete-app) of the app.
2. [basic-webhook-js](basic-webhook-js) - basic WhatsApp webhook app written using Node.js used in [this blog post](https://business.whatsapp.com/blog/how-to-use-webhooks-from-whatsapp-business-api).
3. [media-messages-js](media-messages-js) - Demo of how to use WhatsApp Business Platform with media messages, as described in [this blog post](https://business.whatsapp.com/blog/media-messages-via-app).
**Note:** there are two app versions in this subdirectory - one is a [boilerplate code](whatsapp-api-media-messages/boilerplate) for the application, and one is a [complete version](whatsapp-api-media-messages/complete-app) of the app.
4. [send-messages-movie-ticket-app-js](send-messages-movie-ticket-app-js) - a sample app built with Node.js and WhatsApp Business Platform.
5. [send-messages-flight-app-python](send-messages-flight-app-python) - a sample app build with Python and WhatsApp Business Platform.
5. [send-messages-ecommerce-app-java](send-messages-ecommerce-app-java) - a sample app build with Java and WhatsApp Business Platform.
6. [template-for-education-js](template-for-education-js) - A template application that demonstrates sending educational course offerings, written in Node.js.
7. [template-for-ecommerce-js](template-for-ecommerce-js) - a template application that demonstrates a communication with customers in a simplified ecommerce usecase, written in Node.JS.
8. [signature-validation-with-webhooks-payloads](signature-validation-with-webhooks-payloads) - a sample app that demonstrates how to validate signature for the WhatsApp Business Platform Webhooks' Payloads.
## License
whatsapp-api-examples is Meta Platform Policy licensed, as found in the LICENSE file.