open-wa / wa-automate-nodejs

💬 🤖 The most reliable tool for chatbots with advanced features. Be sure to 🌟 this repository for updates!
https://docs.openwa.dev/
Other
3.14k stars 600 forks source link

Unable to send text and image messages with wapi.js to unknown numbers #528

Closed tsapap closed 4 years ago

tsapap commented 4 years ago

Describe the bug Unable to send text and image messages with wapi.js to unknown numbers.

Steps to Reproduce Steps to reproduce the behavior:

  1. Console Chrome Versione 83.0.4103.61 Windows 64 bit
  2. paste wapi.js with function window.WAPI.sendMessage("000000000@c.us", "Test Message");
  3. Result Error Promise {: false} proto: Promise

create() code This is the code you use to create the client. e.g window.WAPI.sendMessage("000000000@c.us", "Test Message");


**Expected behavior**
A clear and concise description of what you expected to happen.

**DEBUG INFO**
This is the info printed to the console when you start your app. It should look like this

Debug Info { WA_VERSION 05/06/2020, WA_AUTOMATE_VERSION: 1.9.64 Chrome Versione 83.0.4103.61 }



**Screenshots**
If applicable, add screenshots to help explain your problem. Use ```headless: false``` to get screenshots

**Host (please complete the following information):**
 - OS: [e.g. iOS]

**Additional context**
Add any other context about the problem here.
smashah commented 4 years ago

It's not a bug.

https://github.com/open-wa/wa-automate-nodejs/blob/master/README.md

tsapap commented 4 years ago

I purchased your subscription but I can't find any downloads with the new wapi.js features I only need wapi.js. But unfortunately I can no longer send messages to new numbers

smashah commented 4 years ago

There are no downloads. Each key is used for one number. You can use multiple keys per number. The code gets downloaded to your instance when u add the license key config variable in the create method.

tsapap commented 4 years ago

how do I only use WAPI javascript to send the text message and the file to a new number?

smashah commented 4 years ago

This is not possible anymore due to the amount of spam being sent by users of other projects. It has been patched by WhatsApp