New Way to Send & Receive WhatsApp Messages (Business Cloud API)

Vinix Academy
24 May 202218:30

Summary

TLDRIn this tutorial, Juan Estefan Garcia demonstrates how to send and receive WhatsApp messages using the new WhatsApp Business API, specifically the cloud version. He guides viewers through the process of setting up a Meta developer account, creating an app, and integrating WhatsApp. The video covers the use of message templates, sending test messages, and receiving notifications via webhooks. Juan also mentions an upcoming video for non-technical users and emphasizes the need for a business account and production phone number to go live and send messages globally.

Takeaways

  • πŸ˜€ Juan Estefan Garcia introduces a tutorial on using the WhatsApp Business API, specifically the cloud version, for sending and receiving messages.
  • πŸ”— He encourages viewers to watch a previous video for context on the new WhatsApp Business API, which clarifies many concepts.
  • πŸ’» For non-technical viewers, a future video will demonstrate how to use the API without coding, making it accessible to a broader audience.
  • 🌐 The WhatsApp Business API documentation is a valuable resource, especially for developers looking to integrate the API into apps.
  • πŸ“ To get started, one must be registered as a Meta developer, which involves creating a developer account on Facebook and setting up an app.
  • πŸ“± The tutorial covers the process of setting up a WhatsApp integration, including creating a test phone number and adding recipient numbers for testing.
  • πŸ”‘ The script explains the importance of having a business account and a production phone number to go live and send messages globally.
  • πŸ“¬ The video demonstrates how to send a 'Hello World' message using a template, which is a crucial step for testing message delivery.
  • πŸ”„ Receiving messages is facilitated through the setup of a webhook, which allows for real-time notifications when messages are received.
  • 🌐 The use of Postman is highlighted as a tool for testing APIs, and the script guides viewers on how to set up and use it with the WhatsApp API.
  • πŸ”’ Security measures like two-factor authentication and verification tokens are emphasized to ensure the integrity of message notifications.
  • πŸš€ To go live with the API, one must transition from a test environment to a production environment by setting up a production phone number.

Q & A

  • What is the main topic of the video by Juan Estefan Garcia?

    -The main topic of the video is how to send and receive WhatsApp messages using the new WhatsApp Business API, specifically the cloud version.

  • Why should viewers watch Juan's previous video before this one?

    -Viewers should watch Juan's previous video to understand various concepts about the new WhatsApp Business API, as it provides context and clarifies concepts that might be confusing.

  • What is the advantage of using the cloud version of the WhatsApp Business API according to the video?

    -The advantage of using the cloud version is that users can leverage the infrastructure provided by WhatsApp, eliminating the need to set up, install, or maintain any servers themselves.

  • What is the first step to start using the WhatsApp Business API as described in the video?

    -The first step is to register as a Meta developer by creating a developer account on Facebook at developers.facebook.com.

  • Why is a business account necessary for using the WhatsApp Business API?

    -A business account is necessary to go live and send WhatsApp messages to any number globally, along with a production phone number.

  • How can viewers test the WhatsApp Business API without writing code?

    -Viewers can test the WhatsApp Business API without writing code by using the test account created for them or by following a future video prepared by Juan that demonstrates how to use the tool in a business without coding.

  • What is a webhook as mentioned in the video?

    -A webhook is a method of receiving notifications and alerts when a specific event occurs, such as receiving a message on WhatsApp.

  • How can users receive notifications when a message is sent to their WhatsApp Business API?

    -Users can receive notifications by configuring a webhook in the WhatsApp Business API settings, which sends alerts to a specified URL when a message is received.

  • What is the purpose of the 'verify token' in the webhook configuration?

    -The 'verify token' is used by WhatsApp to authenticate that notifications are genuinely coming from Facebook and not from an unauthorized source.

  • What is required to send messages to any number using the WhatsApp Business API?

    -To send messages to any number, users need to set up a production phone number, which allows them to send messages beyond the limited test numbers.

Outlines

00:00

πŸ“˜ Introduction to WhatsApp Business API Cloud Version

Juan Estefan Garcia introduces the tutorial on using the WhatsApp Business API, specifically the cloud version. He references a previous video for context on the new API and assures viewers that a non-technical video is forthcoming. Juan emphasizes the benefits of the cloud version, such as not needing to manage servers, and guides viewers to the WhatsApp Business API documentation. He explains the necessity of being a Meta developer and walks through the process of creating a developer account on Facebook, selecting a business use type, and setting up a test app.

05:01

πŸ“ Setting Up WhatsApp Integration and Testing Messages

The video continues with setting up the WhatsApp integration, which includes creating a test phone number and adding recipient numbers for testing purposes. Juan demonstrates how to verify a phone number and send a test message using a 'Hello World' template. He also introduces Postman, a tool for API development and testing, and shows how to configure it with the necessary environment variables. The tutorial includes sending a text message and receiving it, highlighting the immediate feedback mechanism.

10:02

πŸ”” Receiving Messages and Setting Up Webhooks

Juan explains how to receive messages by configuring a webhook, which provides notifications for specific events, such as receiving a message. He introduces Glitch, a tool for testing APIs, and guides viewers through setting up a webhook on the Glitch platform. The tutorial covers verifying the webhook with a token to ensure the notifications are legitimate. Juan demonstrates receiving a message and getting a notification, showing how the system can be used to monitor incoming messages in real-time.

15:03

πŸš€ Going Live with Production Phone Numbers

The final part of the tutorial focuses on going live with the WhatsApp Business API by setting up a production phone number. Juan outlines the steps for transitioning from testing to production mode, emphasizing that a production phone number is required to send messages to any number globally. He provides instructions on how to set up a production phone number and reminds viewers of the limitations of the testing mode, which restricts message sending to a maximum of five verified phone numbers.

Mindmap

Keywords

πŸ’‘WhatsApp Business API

The WhatsApp Business API is a tool provided by WhatsApp that allows businesses to communicate with their customers via the WhatsApp platform. In the video, the speaker discusses how to use this API, particularly the cloud version, to send and receive messages. It's a core component of the video's theme as it enables businesses to integrate WhatsApp messaging into their operations.

πŸ’‘Cloud API

The Cloud API refers to the version of the WhatsApp Business API that runs on WhatsApp's infrastructure, eliminating the need for businesses to manage their own servers. This is highlighted in the video as a convenient feature because it allows users to leverage WhatsApp's robust infrastructure without the overhead of server maintenance.

πŸ’‘Meta Developer

A Meta Developer is someone who has registered with Meta (formerly Facebook) to create and manage applications that interact with Meta's platforms, such as the WhatsApp Business API. The video instructs viewers on how to become a Meta Developer, which is a prerequisite for using the API to send and receive WhatsApp messages.

πŸ’‘Facebook Graph API

The Facebook Graph API is a tool used by Meta for various applications, including the WhatsApp Business API. In the video, it's mentioned that the WhatsApp Business API uses the Facebook Graph API for its operations, indicating the integration between Meta's different platforms.

πŸ’‘Postman

Postman is a popular API development tool used for testing and developing APIs. In the video, the speaker uses Postman to demonstrate how to send a text message using the WhatsApp Business API, showcasing its utility in the process of API interaction.

πŸ’‘Webhook

A Webhook is a method of augmenting or altering the behavior of a web page or Web application with custom callbacks. In the context of the video, the speaker sets up a webhook to receive notifications whenever a message is sent to the WhatsApp Business API, allowing for real-time updates on incoming messages.

πŸ’‘Message Template

A Message Template in the WhatsApp Business API is a predefined format for messages that can be sent to users. The video explains the necessity of using message templates when initiating conversations with users who have not previously interacted with the business via WhatsApp.

πŸ’‘Production Phone Number

A Production Phone Number is a registered number used for sending messages to customers in a live, production environment. The video emphasizes the need for a production phone number to send messages beyond the testing phase to any number globally.

πŸ’‘Glitch

Glitch is a collaborative programming environment that allows users to build and test applications. In the video, the speaker uses Glitch to demonstrate how to set up a webhook for receiving notifications from the WhatsApp Business API, highlighting its utility in API testing and development.

πŸ’‘Read Receipt

A Read Receipt in WhatsApp is a notification that indicates when a message has been read by the recipient. The video script mentions that the API can provide read receipts, allowing businesses to know when their messages have been viewed by customers.

Highlights

Introduction to sending and receiving WhatsApp messages using the new WhatsApp Business API Cloud version.

Explanation of previous video on different concepts of the WhatsApp Business API.

Offer to prepare a video for non-technical users on leveraging the tool without coding.

Visiting the WhatsApp Business API documentation and exploring the Cloud API documentation.

Advantages of the Cloud API version, such as using Facebook's infrastructure without needing to set up servers.

Instructions on registering as a Meta developer and creating a developer account on Facebook.

Process of creating a new app and choosing the business app type.

Requirement of a business account and a production phone number to go live and send messages globally.

Setting up the WhatsApp integration and creating a test phone number for development purposes.

Adding and verifying recipient phone numbers for testing the API.

Demonstration of sending a test message using the 'hello world' template.

Using Postman for API testing and setting up sample endpoints.

Explanation of message templates and the necessity of using them to initiate conversations.

Procedure to send a custom text message after a conversation has been initiated.

Setting up a webhook for receiving notifications when messages are sent to the WhatsApp number.

Using Glitch to test the API and configure the webhook.

Demonstration of receiving a notification when a message is sent to the WhatsApp number.

Instructions on setting up a production phone number to send messages to any number globally.

Conclusion and call to action for viewers to subscribe for more upcoming videos.

Transcripts

play00:00

hey i'm juan estefan garcia and in this

play00:02

video i will be showing you how to send

play00:05

and receive whatsapp messages using the

play00:08

new whatsapp business api more

play00:10

specifically the cloud version

play00:13

in my previous video i explained a lot

play00:16

of different concepts about this new

play00:17

whatsapp business api because i know

play00:20

that there's still a lot of confusion

play00:22

out there and some of the concepts were

play00:24

not very clear and so i encourage you to

play00:27

watch that video because it will put you

play00:29

into context and it will explain a lot

play00:31

of things that we will be discussing in

play00:33

this video however if you're ready to

play00:35

get started let's dive right into this

play00:37

oh and one thing before i forget

play00:40

i know that some of you are not

play00:41

technical and so for those of you who

play00:43

are not developers or do not have any

play00:45

experience writing code i will be

play00:48

preparing another video in which i will

play00:50

be showing you how to leverage this new

play00:53

tool in your business and how to start

play00:54

sending text messages without having to

play00:56

write a single line of code

play00:59

so without further ado let's get started

play01:02

okay so let's start by visiting the

play01:04

whatsapp business api documentation and

play01:07

you can see that that here i'm looking

play01:09

at the cloud api documentation and there

play01:12

are actually a lot of useful links that

play01:14

you will find here so i encourage you to

play01:16

check it out if you are developing any

play01:18

kind of app

play01:19

using the whatsapp business api

play01:22

so if i go to the overview page

play01:24

you see that well it tells you a lot of

play01:26

different things

play01:27

and it tells you for example that they

play01:29

use the facebook graph api for all of

play01:32

this and the first thing that i want you

play01:35

to know is that the good news is that in

play01:37

this cloud api version

play01:40

you actually can use their

play01:42

infrastructure and you don't have to

play01:44

worry about setting up or installing any

play01:46

servers yourself or maintaining them no

play01:48

you can just use the cloud version and

play01:50

it will do everything for you using

play01:52

their own infrastructure which is

play01:54

definitely a lot more robust than ours

play01:58

so if i click here where it says get

play01:59

started

play02:01

let's start

play02:02

by looking at this first item and you

play02:05

see that in order to follow

play02:07

along in order to

play02:10

do what i'm going to show you in this

play02:11

video you need to be registered as a

play02:13

meta developer

play02:15

and

play02:16

it's very simple to create an account

play02:20

on facebook i mean a developer account

play02:22

you just go to developers.facebook.com

play02:26

and this is what you are going to see if

play02:29

you don't have a developer account it

play02:31

should be pretty easy to set that up you

play02:32

just need to

play02:33

accept some terms of services and it

play02:36

will also ask you to enable to factor

play02:38

authentication for your account which

play02:40

should be pretty easy to do

play02:41

and once you do that you just go to the

play02:43

my apps page

play02:46

and we're going to create a new app

play02:48

and the first thing that you have to do

play02:50

is uh choose

play02:52

the business up type

play02:54

and we're going to

play02:56

enter here a name so it's going to be

play02:58

binx

play03:00

code

play03:02

youtube app let's call it like this i

play03:03

mean it can be anything you want to be

play03:05

honest and you see that a business

play03:07

account is optional but one thing that

play03:10

you should know is that in order to go

play03:12

live and in order to be able to send any

play03:15

whatsapp messages to any number in the

play03:18

planet you need to have a business

play03:20

account and also well you need to have a

play03:22

production phone number those are

play03:23

basically the two things that you will

play03:25

need but

play03:26

for the sake of this video you should be

play03:28

able to follow along just using the the

play03:30

test account that it will create for you

play03:33

in my case since i already have a a a

play03:36

business set up i'm just going to use

play03:38

mine

play03:39

but again you can if you don't select

play03:41

any business it will simply create one

play03:44

for you all right so

play03:47

let's go to the next page it will take a

play03:49

few seconds while it sets up your

play03:50

account

play03:52

in their servers and the first thing

play03:54

that you're going to see is that we are

play03:56

going to set up the whatsapp integration

play04:01

and so you see that out of the box by

play04:03

the way

play04:04

if you don't see

play04:05

a temporary access talking here

play04:08

it may be because you recently created a

play04:10

developer account and it takes at least

play04:12

60 minutes to set it up

play04:14

and like to set up everything that you

play04:16

need in order to use this developer

play04:19

account so just keep that in mind if you

play04:20

don't see anything here

play04:22

and

play04:23

all right so you see that it creates a

play04:25

phone a test phone number for you so in

play04:27

this case this is actually the one that

play04:29

i am going to use

play04:31

and also

play04:32

you can add recipient phone numbers

play04:36

and

play04:37

it's pretty easy so

play04:39

let's actually start doing this the

play04:41

first thing that you're going to need is

play04:42

a recipient phone number because well

play04:45

that would be a number that you will use

play04:46

for testing purposes in this case since

play04:48

we haven't

play04:50

gone live yet since this is not in

play04:52

production mode we have up to five

play04:54

numbers that we can add

play04:56

for testing purposes and if you're going

play04:58

to add a number you have to verify it

play05:01

first so how do you do that well in this

play05:03

case if i click here i will just

play05:06

type my phone number in my cases i

play05:08

already verified it i don't have to do

play05:09

it again but

play05:11

basically you just verify your number

play05:14

you put it here

play05:17

you will then get a text message such as

play05:19

this one i mean a whatsapp message with

play05:21

a code and then you just put the code

play05:24

and it will let you

play05:26

start sending and receiving text

play05:28

messages from that number so i'm not

play05:31

going to do that as you can see i

play05:32

already verified it so i'm just going to

play05:34

choose this one

play05:36

and you see that it's as simple as that

play05:39

if i let let me actually open what's up

play05:42

here and if i click here where it says

play05:44

send text message you see that

play05:46

it sends me a message immediately and it

play05:48

says welcome congratulations hello world

play05:51

this message demonstrates your ability

play05:52

to send a message notification from

play05:54

whatsapp

play05:55

pretty cool and

play05:58

you see that here in this case it is

play06:00

using a template called hello world and

play06:03

that's why it already has like all these

play06:05

all these texts in place

play06:07

now uh

play06:09

if i also take this command

play06:12

and i run it here

play06:15

you see that it also works and let me

play06:16

actually double check yeah you see

play06:18

that i see the message twice which means

play06:20

that that i was able to receive it but

play06:23

for our purposes it will be a lot easier

play06:26

to use postman so i'm just going to

play06:28

click where it says run in postman

play06:32

and the first thing that i will do is

play06:34

well if you don't have a postman account

play06:35

it will ask you to create one in my case

play06:38

i'm already logged in

play06:39

in my

play06:41

in my account and so i'm just going to

play06:45

choose any label here i'm actually going

play06:47

to use this one it doesn't really matter

play06:48

and i'm going to pick this workspace

play06:51

and for those of you who do not know

play06:52

postman it's a very useful tool

play06:56

that you can use for like developing

play06:58

apis or for testing apis and so this is

play07:01

definitely something that you will be

play07:02

using quite frequently if you are

play07:05

using whatsapp business api

play07:08

okay so as you can see

play07:10

facebook took the time to set up a lot

play07:12

of different sample endpoints in example

play07:15

requests and so this is definitely going

play07:18

to save us a lot of time which is pretty

play07:20

cool

play07:21

so i don't want to use i mean as you can

play07:23

see i'm using the web version but quite

play07:25

frankly i like the desktop version

play07:28

better so let me actually close all

play07:30

these steps

play07:31

don't save anything and as you can see i

play07:34

have three cloud apis i mean it's only

play07:36

because i was also

play07:38

recording a spanish version of this api

play07:42

so let's focus on this one

play07:44

all right so

play07:46

if i go to environments you will see

play07:48

that that there there are three

play07:50

environments in my case there are three

play07:52

because i have three apis

play07:54

and so here is where you will tweak

play07:56

this value so for example i don't know

play07:59

let's say

play08:00

let's say that i want to change let me

play08:02

actually go back to where i was

play08:05

here

play08:09

and if i want to copy let's say

play08:13

this phone number id then this is the

play08:15

one that i would put here

play08:17

yeah i'm going to put this one no

play08:19

actually i'm going to use the test

play08:21

number

play08:22

because you see that i already validated

play08:24

another number uh and so i mean i can

play08:27

use that one but for this video i'm just

play08:29

going to use this one

play08:31

so i'm going to leave it like this and

play08:33

i'm also going to grab this temporary

play08:36

access code and put it here

play08:38

awesome and the recipient phone number

play08:42

i'm going to use this one so i'm just

play08:43

going to paste the number here as you

play08:45

can see it was already there

play08:47

i'm going to hit save

play08:49

and now

play08:51

if i go to get started send a text

play08:53

message

play08:55

you will see well you will see that this

play08:56

is red and by the way as soon as you

play08:58

come back to environment and enable this

play09:01

environment that i just created you see

play09:03

that it turns orange

play09:05

and now

play09:06

well let's do the same experiment

play09:10

awesome so you see that that it does

play09:12

work pretty cool

play09:14

and

play09:15

one thing that i want you to know is

play09:16

that we're using a template and so if i

play09:19

come here to where it says create your

play09:21

own message template you will see that

play09:23

we have different versions of this

play09:26

hello world and also like for example if

play09:29

we if we were to use sample chipping

play09:31

confirmation i'm not going to use any of

play09:33

those i'm just going to stick to

play09:35

to the one that you're seeing here and

play09:38

you see that you can create like even

play09:40

different

play09:41

uh translations of the same message

play09:44

and one thing that i want you to keep in

play09:46

mind is that in order to start a

play09:48

conversation with someone that said that

play09:51

we haven't received any

play09:53

messages from a particular user if you

play09:55

want to initiate a conversation with

play09:57

that person you'll have to use a message

play10:00

template so that's something that you

play10:01

will have to keep in mind however after

play10:04

that person replies to you you are able

play10:06

to send any kind of message that you

play10:08

want and so let's let me actually show

play10:11

you if i try to send a text message and

play10:14

let me actually go here to reference

play10:18

messages

play10:20

and

play10:21

um

play10:22

let me go here to examples

play10:24

if i grab this payload

play10:28

i put it here

play10:33

you are going to see that well let me

play10:36

actually do this

play10:37

let me copy this variable

play10:42

put it here

play10:44

then i'm also going to remove

play10:46

the rest

play10:48

and

play10:52

so i'm going to try to send a text

play10:55

message

play10:56

and the thing is that i mean actually

play10:58

like in my case it will work because i

play11:00

already like i i already was using this

play11:03

number for testing purposes prior to

play11:05

this video but if you try to send this

play11:07

kind of message without the user having

play11:10

first send you any message then you're

play11:13

just going to get an error so in this

play11:14

case let's actually do this

play11:16

hey

play11:17

how's it going

play11:20

pretty casual

play11:21

now if i send this it'll work and you

play11:24

see how it lets you send a text message

play11:25

but again if you try to do it without

play11:28

the user

play11:29

sending a sending you a message first

play11:31

it's not gonna work so i do want you to

play11:33

keep that in mind

play11:35

all right so

play11:37

let's talk now about

play11:39

receiving text

play11:40

messages because we know now how to send

play11:44

text messages but let's focus on

play11:46

receiving them because it will be pretty

play11:48

cool if we can get any kind of

play11:51

notification every time someone sends us

play11:53

a message so how do you do that

play11:56

so you just come here to where it says

play11:58

configuration and we're going to

play12:00

configure something called a web hook

play12:03

and in case you don't know what a web

play12:04

hook is is simply like a fancy way of

play12:08

getting alerts and notifications when a

play12:11

specific event happens so let's say that

play12:14

for example i have an e-commerce store

play12:16

and someone placed an order in my system

play12:19

then it would be pretty cool if i get a

play12:20

notification saying hey someone just

play12:22

place an order or hey someone just made

play12:25

a payment or hey someone requested a

play12:27

refund or your order was already chipped

play12:31

stuff like that and so

play12:33

we want to enable notifications and we

play12:36

want to enable webhooks when someone

play12:38

sends a text when someone sends us a

play12:40

text message so i'm going to click here

play12:42

in the help icon

play12:44

and it is going to take me to this page

play12:46

and we're going to use a very cool tool

play12:49

called glitch

play12:51

and basically glitch lets you test

play12:54

your api and so i'm going to click here

play12:57

where it says remix on glitch

play13:02

and you will see

play13:04

that well in order to to do what i'm

play13:06

going to do you will probably need to

play13:07

have an account and so well it's pretty

play13:10

easy to

play13:11

uh to set up an account

play13:13

and once you have your account you'll

play13:15

see the first thing that you will

play13:16

encounter is this code that is basically

play13:19

a very simple api it has two endpoints

play13:22

and one is a post

play13:24

endpoint

play13:25

under slash web hook and the same thing

play13:27

with a get

play13:28

endpoint on their slash web hook so

play13:32

pretty easy and one thing that you will

play13:34

need to do is you'll have to set up an

play13:36

environment variable and actually as you

play13:38

can see i have to click

play13:40

first where it says remix because i need

play13:42

to create

play13:43

a my own copy of this server

play13:46

not of the server of this code

play13:49

and you see that that here i have the

play13:50

option to change these two tokens in

play13:53

this case we're going to update the

play13:55

verify token and by the way this token

play13:58

is just a way for what's up i mean for

play14:00

you to know that

play14:03

the notifications that you are getting

play14:05

are actually coming from facebook

play14:06

because if someone finds out about this

play14:08

url they will be able to make manual

play14:10

notifications and then your servers will

play14:12

be confused thinking that someone is

play14:14

sending you messages when in reality

play14:16

you're just being attacked by someone

play14:19

and so

play14:20

let's put some random talking here

play14:22

something like phoenix code

play14:24

youtube

play14:25

a349

play14:27

exclamation mark this is what i'm going

play14:29

to use

play14:30

because as you can see i am very

play14:32

creative

play14:34

and

play14:36

and not funny

play14:38

and also what i'm going to do now is

play14:41

i'm going to configure the web hook

play14:44

and i'm going to paste

play14:46

the verify talking first

play14:49

and then what i'm gonna do is

play14:53

i'm going to click here where it says

play14:54

share and i'm going to grab this link

play14:57

and put it here and i'm going to add a

play15:00

slash webhook

play15:02

so if i do this let me actually

play15:05

here click where it says webhooks

play15:09

and

play15:11

if i click here verify and save

play15:13

you'll see that it says webhook verified

play15:16

because that basically means that that

play15:18

facebook made a request to this url and

play15:20

pass this verify token and it worked

play15:22

so it's as simple as that and now what

play15:25

we're gonna do is click here where it

play15:26

says web hooks and i'm going to

play15:28

subscribe to these notifications to this

play15:30

event so basically every time something

play15:33

related to a message happens you are

play15:36

going to get a web hook

play15:38

in the url that we provided facebook

play15:40

before so i'm going to click you here

play15:42

where it says subscribe

play15:44

and we should be all set so let's

play15:46

actually give this a try

play15:51

if i come here let me clear they lock

play15:54

the lock so i'm going to click here

play15:56

and now i'm going to send a text message

play15:58

so

play16:00

hey

play16:01

it's me

play16:04

and you see that i immediately get a

play16:06

notification and you see that there's a

play16:08

message the message has a

play16:10

a message id

play16:12

and here's the body it says hey it's me

play16:14

and so at this point like we can

play16:16

literally have like some app that will

play16:18

display all the messages that we are

play16:20

receiving and then any person will be

play16:23

able to reply to those messages so it's

play16:25

pretty cool and you see that for example

play16:27

if i send a text message let me send

play16:30

a text message times two

play16:34

all right and now i'm going to clear the

play16:37

logs

play16:38

and i want you to know that if i click

play16:40

here

play16:41

where it says well if i open my whatsapp

play16:43

conversation

play16:44

as soon as i open it

play16:46

it in

play16:48

i get a notification that says that the

play16:50

message was read so this is basically

play16:52

the way

play16:53

you can like tell whether or not someone

play16:56

has read your message so you you also

play16:58

get a notification when that happens and

play17:00

if i

play17:02

reply okay cool

play17:06

you see that i also get the other

play17:07

notification with the text message so as

play17:10

you can see we are able to send and

play17:12

receive whatsapp messages using this new

play17:16

api

play17:17

okay so at this point you know full well

play17:19

how to send and receive text messages

play17:21

but the last thing that i want to tell

play17:23

you is that in order to

play17:25

go live in order to go to production you

play17:28

will need to set up

play17:31

a

play17:33

production phone number and so basically

play17:35

the way you do that is that

play17:36

as you can see here it says when you're

play17:38

ready to use your app for production use

play17:40

case you need to use your own phone

play17:41

number to send messages to your users

play17:43

and here it has the instructions on how

play17:45

to do that it's pretty easy to do it i

play17:47

already tested it myself it works really

play17:49

well and only when you have a production

play17:52

phone number you are you have the

play17:54

ability to

play17:55

send messages to any number in the

play17:57

planet so i just want you to keep that

play17:59

in mind because while you are in testing

play18:02

mode you are only able to send messages

play18:05

to up to five

play18:06

confirmed and verified phone numbers but

play18:09

if you want to send messages to any

play18:10

number you will have to use a production

play18:13

phone number

play18:14

so that's it for now and i want to thank

play18:16

you for sticking till the end of this

play18:18

video i will be showing you a lot of

play18:20

different things during the next few

play18:22

days so i want you to subscribe to this

play18:25

channel because i will be posting more

play18:26

videos very soon thank you so much

Rate This
β˜…
β˜…
β˜…
β˜…
β˜…

5.0 / 5 (0 votes)

Related Tags
WhatsApp APICloud MessagingBusiness SolutionsAPI TutorialFacebook IntegrationDeveloper GuideMessage TemplatesWebhook SetupE-commerce ToolsCustomer Engagement