Open Lewisihno opened 6 years ago
Here is the answer for your question https://github.com/yotam180/WhatsappAPI/issues/38
Thanks. https://github.com/yotam180/WhatsappAPI/issues/38
now, to try!!
@Lewisihno i've got an exception: Uncaught ReferenceError: Store is not defined. Is this working for you?
I'm using chrome on ubuntu.
@rcarmonad Let me update the code there and test it again. I will notify here when done :slightly_smiling_face:
@rcarmonad I think I got it. Try again and keep me updated.
Ok, i've been working on it and see that the main.js
was more updated than the files in the ext
folder.
I'll keep you updated.
Yes it was. Try updating your git folder, the main.js
file is now gone and I migrated all the changes and fixes to the extension api.js
.
There are some issues with changes on the json from whatsapp. For example:
parseMsgObject: function(msg_object) {
var m = msg_object.all;
if (msg_object["__x__quotedMsgObj"]) {
m.quotedMsg = API.parseMsgObject(Core.msg(msg_object.__x__quotedMsgObj.__x_id._serialized));
}
m.chat = m.chat.all;
delete m.msgChunk;
return m;
},
m.chat.all
does not works. So, i've eliminated the call to parseMsgObject
.
Previously, was other issues, with de window.Store
, but, it was solved on main.js
, and now in the extension.
Let me know if i can help you in any way.
step by step installation and configuration of the API when the WebStore does not allow downloading, because I access the link to install the extension but says there is an error in the link, look for it but it does not appear, I would like to launch this Chatbot for some Labs that I have in mind: D