Free partial implementation of https://chat-api.com
- accepting file from replica instance to odoo is not implemented
- sending file from odoo to replica instance is not implemented
- Create whatsapp account. It will be used as a bot
- Run:
docker-compose up -d firefox
Using VNC client connect to 127.0.0.1:5900. Password is
secret
Note, if you are running this on remote machine, consider to make SSH tunnel to that machineIn VNC client run:
firefox -P
Press
Create Profile
->Next
-> Enter any profile name -> PressFinish
Choose new created profile and press
Start Firefox
In address bar enter
https://web.whatsapp.com
Scan QR code
In address bar enter
http://127.0.0.1:5000/admin
Choose profile, that you have created some steps ago
Press "Generate access token"
Use this access token to access it's api