Skip to content

Commit ecc03d7

Browse files
committed
Keep missing some mentions...
1 parent a3eaa0c commit ecc03d7

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,18 @@ First, you need a Facebook app with the Whatsapp API activated.
1212
You can create your first app following [this steps](https://developers.facebook.com/docs/whatsapp/getting-started/signing-up).
1313
Get the API token, either a temporal or a permanent one.
1414

15-
Now, you can install the module using the following command:
15+
In your server you can install the module using npm:
1616

1717
```
1818
npm install whatsapp-api-js
1919
```
2020

21-
2221
Now you can write code like this:
2322

2423
```js
25-
const WhatsAppAPI = require("whatsapp-js").WhatsApp;
26-
const Handler = require("whatsapp-js").Handlers;
27-
const { name, phone, birthday } = require("whatsapp-js").Contacts;
24+
const WhatsAppAPI = require("whatsapp-api-js").WhatsApp;
25+
const Handler = require("whatsapp-api-js").Handlers;
26+
const { name, phone, birthday } = require("whatsapp-api-js").Contacts;
2827

2928
const Token = "YOUR_TOKEN";
3029

@@ -65,7 +64,7 @@ While setting up, you will be asked a Verify Token. This can be any string you w
6564
The app also has a GET wizard for the webhook authentication:
6665

6766
```js
68-
const Handler = require("whatsapp-js").Handlers;
67+
const Handler = require("whatsapp-api-js").Handlers;
6968

7069
// Assuming get is called on a GET request to your server
7170
function get(e) {

0 commit comments

Comments
 (0)