Open zainkafeel opened 4 years ago
Use this. Is work 100%: https://raw.githubusercontent.com/smashah/sulla/master/src/lib/wapi.js
Use this. Is work 100%: https://raw.githubusercontent.com/smashah/sulla/master/src/lib/wapi.js
After put this file, after login no response any more
`window.WAPI.checkNumberStatus = function (id, done) { window.Store.WapQuery.queryExist(id).then((result) => { if( done !== undefined) { if (result.jid === undefined) throw 404; done(window.WAPI._serializeNumberStatusObj(result)); } }).catch((e) => { if (done !== undefined) { done(window.WAPI._serializeNumberStatusObj({ status: e, jid : id })); } });
return true;
};`
WhatsWrong with check number status.. i can send also but still can't check number status
Use this. Is work 100%: https://raw.githubusercontent.com/smashah/sulla/master/src/lib/wapi.js
After put this file, after login no response any more
You need to inject the code after logging into whatsapp
How to inject? it will work on multiple accounts?
When i try to check checkNumberStatus Number i got this error.
Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 2446, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1951, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1820, in handle_user_exception reraise(exc_type, exc_value, tb) File "/usr/local/lib/python3.6/dist-packages/flask/_compat.py", line 39, in reraise raise value File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1949, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1935, in dispatch_request return self.view_functionsrule.endpoint File "/home/ubuntu/WebWhatsapp-Wrapper/sample/flask/webapi.py", line 702, in number_status res = g.driver.check_number_status(number_id) File "/home/ubuntu/WebWhatsapp-Wrapper/webwhatsapi/init.py", line 785, in check_number_status number_status = self.wapi_functions.checkNumberStatus(number_id) File "/home/ubuntu/WebWhatsapp-Wrapper/webwhatsapi/wapi_js_wrapper.py", line 44, in getattr wapi_functions = dir(self) TypeError: 'NoneType' object is not iterable
SendMessage Also not working anymore
Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 2446, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1951, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1820, in handle_user_exception reraise(exc_type, exc_value, tb) File "/usr/local/lib/python3.6/dist-packages/flask/_compat.py", line 39, in reraise raise value File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1949, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1935, in dispatch_request return self.view_functionsrule.endpoint File "/home/ubuntu/WebWhatsapp-Wrapper/sample/flask/webapi.py", line 152, in decorated_function return f(*args, **kwargs) File "/home/ubuntu/WebWhatsapp-Wrapper/sample/flask/webapi.py", line 584, in send_message res = g.driver.send_message_to_id(chat_id, message) File "/home/ubuntu/WebWhatsapp-Wrapper/webwhatsapi/init.py", line 585, in send_message_to_id return self.wapi_functions.sendMessageToID(recipient, message) File "/home/ubuntu/WebWhatsapp-Wrapper/webwhatsapi/wapi_js_wrapper.py", line 44, in getattr wapi_functions = dir(self) File "/home/ubuntu/WebWhatsapp-Wrapper/webwhatsapi/wapi_js_wrapper.py", line 71, in dir self.driver.execute_script(script.read()) File "/usr/local/lib/python3.6/dist-packages/selenium/webdriver/remote/webdriver.py", line 636, in execute_script 'args': converted_args})['value'] File "/usr/local/lib/python3.6/dist-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute self.error_handler.check_response(response) File "/usr/local/lib/python3.6/dist-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.WebDriverException: Message: unknown error: Cannot read property 'off' of undefined (Session info: headless chrome=78.0.3904.108) (Driver info: chromedriver=2.41.578700 (2f1ed5f9343c13f73144538f15c00b370eda6706),platform=Linux 5.3.0-1023-aws x86_64)