pedroslopez / whatsapp-web.js

A WhatsApp client library for NodeJS that connects through the WhatsApp Web browser app
https://wwebjs.dev
Apache License 2.0
15.47k stars 3.69k forks source link

I'm a beginner #629

Closed allacmc closed 3 years ago

allacmc commented 3 years ago

I wanted to apologize for my silly question.

I'm an ASP and PHP programmer from the old days and I'm a little lost.

How do I install this Robo do Whatsapp code?

Do I need to create a virtual machine just for that?

Can I run this code in a hosting installation?

After installing, do you have an HTML system?

How do I log in with my mobile's webwhatsapp?

Could someone help me? With these questions?

PurpShell commented 3 years ago

You should join the discord! These are simple questions... Anyways:

1- This is Node.JS, so you must use something like the express package and make a RESTFUL API
2- No! Where are you hosting? Locally? If so just install Node 3- if it is a vps then yes, but if they limit what you can use then sadly not 4- Sadly not. You have to make an API for yourself that you can call from your host 5- If you are running in headless mode, just install node package qrcode-terminal and then just let it create a QR.

Node.JS uses JavaScript, as such: I will list some things that can help you learn:

PurpShell commented 3 years ago

you have to learn JavaScript or you may not understand what i said.

bijancot commented 3 years ago

That's a big recap from @PurpShell, join the the discord channel will help you a lot. But if your goal to use this library but still using ASP or such as. I think the first solution will be enough just make the restful api and make request to nodejs with express (but you will need basic javascript too)

allacmc commented 3 years ago

First, thanks for the help

So I have a good knowledge of Javascript and object orientation.

And I have my own hosting server using directadmin software

I have some sites and I develop something in php

I have already made some plugins for wordpress.

Can I download this software in particular from a hosting directory? And use it for hosting?

once again I want to thank you for your help

sostenesapollo commented 3 years ago

@allacmc sim mano, vc pode baixar e rodar em um server, com o Heroku ou com o aws , seta healdess=true nas configs do heroku