GithubHelp home page GithubHelp logo

blakepro / whatsapp-api-puppeteer-nodejs Goto Github PK

View Code? Open in Web Editor NEW
23.0 7.0 8.0 144 KB

Unofficial API for WhatsApp (Bot / Webhook / Socket)

Home Page: https://github.com/BlakePro/WhatsAppApiNodeJS

JavaScript 87.80% PHP 6.04% HTML 6.15%
api nodejs puppeteer whatsapp whatsapp-api whatsapp-bot bot chrome whatsapp-php socket

whatsapp-api-puppeteer-nodejs's Introduction

Hello!, I'm a FullStack Developer

Welcome to my profile ๐Ÿ‘‹

Some languages and tools that I use in my projects

arduino azure bootstrap chartjs csharp css3 d3js django docker electron firebase gcp git html5 ionic javascript kubernetes linux materialize mongodb mssql mysql nestjs nginx nodejs nuxtjs php postgresql postman python react redis sqlite tailwind typescript webpack canvasjs express nextjs

whatsapp-api-puppeteer-nodejs's People

Contributors

blakepro avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

whatsapp-api-puppeteer-nodejs's Issues

Send Media Blank

i execute script

<?php

$curl = curl_init();

$option='{"content": "https://www.wikipedia.org/portal/wikipedia.org/assets/img/[email protected]", "preview": "true"}';

curl_setopt_array($curl, array(
  CURLOPT_URL => "http://localhost:8333/api/mytoken/media",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
  CURLOPT_POSTFIELDS => '[email protected]&option='.$option,
  CURLOPT_HTTPHEADER => array(
    "content-type: application/x-www-form-urlencoded"
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;

but blank received..
and show json

{
  "number": "628212xxxxxx",
  "option": {
    
  },
  "message": "Send",
  "status_code": 200
}

why?

Check if number whatsapp?

how to check if number registered whatsapp?

ex : 6281271727374 = true, number registered whatsapp
ex : 6281271724444 = false, number not registered whatsapp

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.