mukulhase / WebWhatsapp-Wrapper

An API for sending and receiving messages over web.whatsapp [Working as of 18th May 2018]
https://webwhatsapi.readthedocs.io/en/latest/
MIT License
2.03k stars 796 forks source link

Message: javascript error: webpackJsonp is not defined #1002

Closed erickmourasilva closed 3 years ago

erickmourasilva commented 3 years ago

this error started to happen unexpectedly just now.

bobaoapae commented 3 years ago

https://github.com/mukulhase/WebWhatsapp-Wrapper/pull/1003

erickmourasilva commented 3 years ago

1003

thanks man, works fine. Can you pass your e-mail or whatsapp? I'd like to make you a proposal

bobaoapae commented 3 years ago

send-me a email: jvborges@outlook.com, i will reply you with my WhatsApp.

edsondasilva commented 3 years ago

no send message

bobaoapae commented 3 years ago

no send message

Functions need to be check, i only fixed store until now.

krasymyr commented 3 years ago

open chat is not working either, @bobaoapae if you can help, thanks.

erickmourasilva commented 3 years ago

open chat is not working either, @bobaoapae if you can help, thanks.

give me more details of the function that is not working please.

krasymyr commented 3 years ago

hey, thanks a lot. i am not familiar with this library but i was using createWid with Store.Cmd.openChatAt to move to specific chat user . now the createWid module is gone but i saw the OpenChat object in neededObjects . tried the window.OpenChat which is undefined. and window.Store.OpenChat needs some parameters . so my problem is navigating to xxx@c.us chat window. thanks again

krasymyr commented 3 years ago

@erickmourasilva you think can you help with this opening xxx numbers chat window directly ?

bobaoapae commented 3 years ago

window.WAPI.openChat = async function (id, msg) { let idFind = Store.WidUtils.createUserWid(id); let chat = await Store.Chat.find(idFind); var openChat = new Store.OpenChat(); openChat.props = {msgText: msg}; openChat.openChat(chat); };

bobaoapae commented 3 years ago

{ id: "WidUtils", conditions: (module) => (module.createWid) ? module : null }

krasymyr commented 3 years ago

@bobaoapae thanks a lot. Can I contact you too, via an email ?

thanks again, and you too @erickmourasilva .

bobaoapae commented 3 years ago

Yeah, of course. My e-mail is: jvborges@outlook.com

krasymyr commented 3 years ago

Yeah, of course. My e-mail is: jvborges@outlook.com

will do . thanks