• Stars
    star
    203
  • Rank 192,890 (Top 4 %)
  • Language
    JavaScript
  • License
    Other
  • Created over 2 years ago
  • Updated 10 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Examples of how to use WhatsApp Cloud API on the WhatsApp Business Platform

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.

Directory

  1. message-templates-js - A WhatsApp application that demonstrates creating and using message templates, as described in this blog post.

    Note: there are two app versions in this subdirectory - one is a boilerplate code for the application, and one is a complete version of the app.

  2. basic-webhook-js - basic WhatsApp webhook app written using Node.js used in this blog post.

  3. media-messages-js - Demo of how to use WhatsApp Business Platform with media messages, as described in this blog post.

    Note: there are two app versions in this subdirectory - one is a boilerplate code for the application, and one is a complete version of the app.

  4. send-messages-movie-ticket-app-js - a sample app built with Node.js and WhatsApp Business Platform.

  5. send-messages-flight-app-python - a sample app build with Python and WhatsApp Business Platform.

  6. send-messages-ecommerce-app-java - a sample app build with Java and WhatsApp Business Platform.

  7. template-for-education-js - A template application that demonstrates sending educational course offerings, written in Node.js.

  8. template-for-ecommerce-js - a template application that demonstrates a communication with customers in a simplified ecommerce usecase, written in Node.JS.

  9. 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.

More Repositories

1

f8app

Source code of the official F8 app of 2017, powered by React Native and other Facebook open source projects.
JavaScript
13,987
star
2

messenger-platform-samples

Messenger Platform samples for sending and receiving messages. Walk through the Get Started with this code. https://developers.facebook.com/docs/messenger-platform/quickstart
JavaScript
1,717
star
3

360-video-player-for-android

Sample code for creating a 360 video player on Android. Creates an OpenGL ES scene that renders a sphere textured with video frames from MediaPlayer playback. Does not use the NDK. This is a simple example of the core elements of 360 video rendering and is not intended to be production quality code. The code may be unstable. This is won't be maintained.
Java
616
star
4

messenger-bot-samples

Messenger Bot Samples
JavaScript
554
star
5

Canvas-Streaming-Example

This project contains example code showing how to go live on Facebook using a <canvas> element as a source.
JavaScript
340
star
6

audience-network

Open source projects to demonstrate SDK and sample code usages and integration, and to collaborate and support peers in this community.
319
star
7

oculus-networked-physics-sample

This is a networked physics sample for Rift built in Unity.
C#
310
star
8

WhatsApp-Business-API-Postman-Collection

A Postman collection that contains the full set of sample WhatsApp Business API calls.
294
star
9

fbinstant-samples

Sample projects for the Facebook Instant Games platform
JavaScript
256
star
10

graph-api-webhooks-samples

These are sample clients for Facebook's Graph API Webhooks and Instagram's Real-time Photo Updates API.
CoffeeScript
236
star
11

original-coast-clothing

Sample Messenger App - Original Coast Clothing
JavaScript
202
star
12

fbctf-2019-challenges

The challenge source code and solutions for FBCTF 2019
Python
200
star
13

threads_api

This repository contains a sample app for developers who are interested in integrating with the Threads API.
JavaScript
187
star
14

workplace-platform-samples

Sample code to enable Workplace customers to make the most of the features of the Workplace Custom Integrations platform.
PowerShell
183
star
15

ghc-hotswap

Example code for how we swap compiled code within a running Haskell process.
Haskell
172
star
16

kotlin_ast_tools

Utilities and examples used in Meta to simplify migration from Java to Kotlin and maintenance of Kotlin code.
Kotlin
149
star
17

fblogin-sample

Sample implementations for developers to take as reference when building into fb login products.https//developers.facebook.com/docs/facebook-login/messenger-integration
JavaScript
120
star
18

sculpting-and-simulations-sample

Sample code that supplements the Sculpting And Simulations talk.
C++
96
star
19

live-comments-teleprompter

Example code shows how to retrieve comments and reactions for a Facebook Live video.
JavaScript
89
star
20

bucksamples

Samples for the Buck build tool.
Objective-C
72
star
21

original-coast-clothing-ig

Sample Instagram App - Original Coast Clothing
JavaScript
51
star
22

glTF-Renderer

Sample glTF Renderer for Android
Java
50
star
23

marketing-api-samples

Solution samples using the Facebook marketing API.
JavaScript
49
star
24

reels_publishing_apis

This repository contains sample apps for developers who are interested in integrating with Reels APIs.
JavaScript
41
star
25

OpenNetNorad

Sample system to manage Uping and Upong (UdpPinger) instances, used to measure / graph network latency and loss on Linux
Python
38
star
26

VRDeepLinkSDK

VRDeepLinkSDK provides a quick way to integrate your app to display a 360 photo/video content from Facebook.
Java
37
star
27

android-native-library-merging-demo

Buck demo showing how to safely merge native libraries in Android apps.
C
36
star
28

sdstudio

sdstudio project for image generation and modification
Python
30
star
29

rusty-bunny

a tool that lets you write smart bookmarks
Rust
23
star
30

pytorch-quantization-workshop

Code for a workshop hosted at the MLOps World Summit '22
Jupyter Notebook
16
star
31

insights_dashboard

Insights Dashboard is a sample app that integrates with Meta's Insights APIs
JavaScript
14
star
32

lead-ads-webhook-sample

Sample code to accelerate client's adoption of Lead Ads and Conversion Leads products, by integrating with our advertising platform. Developers can also take this as reference when building integrations, without having to start from scratch.
C#
14
star
33

ListViewToRecyclerView

Library to help products migrate from ListView to RecyclerView.
Java
11
star
34

fbrell

An interactive environment to explore the Facebook JavaScript SDK.
Go
11
star
35

GetRecommendations

A complete, sample android application that uses the Audience Network SDK.
Java
10
star
36

share_to_reels_android

Android sample app with Share to Reels
Java
10
star
37

OptiMate

Sample codes that allows to fetch different Reach and Frequency curves from the Facebook Marketing API.
Python
10
star
38

discord-help-bot

This is the code used in a tutorial called "Build a Discord bot with Rust and Serenity"
Rust
9
star
39

share_to_reels_ios

iOS sample app with Share to Reels
Swift
7
star
40

f8-2014

For sample code used during sessions at the 2014 F8 conference.
Objective-C
7
star
41

cp_reference

We are building a 3rd party commerce platform partner reference implementation.
Python
7
star
42

typefast

An auto-deployable scripting environment that enables people to quickly leverage powerful automation tools.
JavaScript
6
star
43

python-typing-tutorial

A sample Python project to demonstrate basic type checking concepts and best practices.
Python
5
star
44

mit-dl-workshop

Jupyter Notebook
5
star
45

caldera-security-tests

This project was created to provide examples of a TTP Runner and Security Regression Pipeline using vulnerabilities discovered in MITRE CALDERA by Jayson Grace from Meta's Purple Team.
Go
5
star
46

video-template-builder

An intuitive tool for creating dynamic video templates. Seamlessly integrate and customize videos, images, and audio files to produce new media at scale.
Python
4
star
47

transparent-automated-ads-demo-app

A demo web app to simulate the marketplace integration for Transparent Automated Ads
JavaScript
3
star
48

NeurIPS2018

Notebooks from the NIPS 2018 booth screen rolling deck
Jupyter Notebook
3
star
49

Facebook-Reels-Publishing-API-Postman-Collection

A Postman Collection that contains requests to upload Reels to Facebook
3
star
50

marketing_messages_measurement

This project provides best practices on how to measure WhatsApp marketing messages effectively, understand how many incremental conversions businesses canget as well as how to compare the effectiveness of marketing messages against other external platforms such as email/SMS.
R
2
star
51

MediaSpatialAppTemplate

A sample media Android app works on Quest devices, in both Android 2D Panel Mode and Immersive Mode supported by Meta Spatial SDK.
Kotlin
2
star
52

wamquery

Collection of runtime primitives for implementing a SQL-like query language
C
2
star
53

portal-sdk-samples

Sample implementations demonstrating how to integrate various Portal SDK feature modules into an Android App for Portal
Java
1
star
54

cppcon24-async-demo

Demo application for C++con 2024 to showcase async stacks
Python
1
star