Git Product home page Git Product logo

Comments (13)

sairmali avatar sairmali commented on May 18, 2024

like call us ?

from whatsapp-api-nodejs.

salman0ansari avatar salman0ansari commented on May 18, 2024

localhost:3333/message/button

var axios = require('axios');
var data = JSON.stringify({
  "id": "",
  "btndata": {
    "text": "title Head",
    "buttons": [
      {
        "type": "replyButton",
        "title": "Reply this text (REPLY)"
      },
      {
        "type": "urlButton",
        "title": "Click me (URL)",
        "payload": "https://google.com"
      },
      {
        "type": "callButton",
        "title": "Click to call (CALL)",
        "payload": "918788889688"
      }
    ],
    "footerText": "title footer"
  }
});

var config = {
  method: 'post',
  url: 'localhost:3333/message/button?key=123',
  headers: { 
    'Content-Type': 'application/json'
  },
  data : data
};

axios(config)
.then(function (response) {
  console.log(JSON.stringify(response.data));
})
.catch(function (error) {
  console.log(error);
});

Screenshot_20220323-112716027 (1)

from whatsapp-api-nodejs.

salman0ansari avatar salman0ansari commented on May 18, 2024

read button docs here
https://documenter.getpostman.com/view/12514774/UVsPQkBq#de205b70-f123-4278-8b44-f8341a3f9f13

from whatsapp-api-nodejs.

sairmali avatar sairmali commented on May 18, 2024

your new library not scanning phone

from whatsapp-api-nodejs.

sairmali avatar sairmali commented on May 18, 2024

showing message could not connect . i have try my different phone but problem is same

from whatsapp-api-nodejs.

salman0ansari avatar salman0ansari commented on May 18, 2024

what is the error?

from whatsapp-api-nodejs.

sairmali avatar sairmali commented on May 18, 2024

my phone not scanning

from whatsapp-api-nodejs.

sairmali avatar sairmali commented on May 18, 2024

i was using your old library but today i have download your new code when i was run this so i can't scan phone

from whatsapp-api-nodejs.

salman0ansari avatar salman0ansari commented on May 18, 2024

what error comes in console?

from whatsapp-api-nodejs.

sairmali avatar sairmali commented on May 18, 2024

http://SERVERIP:3344/instance/qrbase64?key=7422ec75-328e-4fc8-ba4e-ed2378787ioo

when i open this so i can scan phone no error showing in console sir,,,

from whatsapp-api-nodejs.

salman0ansari avatar salman0ansari commented on May 18, 2024

you have to scan code as soon as possible after you create an instance.

from whatsapp-api-nodejs.

salman0ansari avatar salman0ansari commented on May 18, 2024

and make sure to join Whatsapp Multi Device Beta

from whatsapp-api-nodejs.

sairmali avatar sairmali commented on May 18, 2024

thanks it is working

from whatsapp-api-nodejs.

Related Issues (20)

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.