You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whatsapp will need authorization to your account. Scan the shown qr code. You might need to restart the program after scanning the qr code
2021/11/01 15:46:43 error logging in: error during login: error decoding login resp: json: cannot unmarshal array into Go value of type map[string]interface {}
exit status 1
2021/11/01 15:46:44 error logging in: error during login: error decoding login resp: json: cannot unmarshal array into Go value of type map[string]interface {}
exit status 1
Traceback (most recent call last):
File "Main.py", line 35, in <module>
main()
File "Main.py", line 29, in main
detector.detect()
File "/home/alabbas/workspace/social-media-detector-api/SocialDetector.py", line 10, in detect
app.process()
File "/home/alabbas/workspace/social-media-detector-api/Whatsapp.py", line 42, in process
self.detect_numbers(self.phone_numbers_to_detect)
File "/home/alabbas/workspace/social-media-detector-api/Whatsapp.py", line 37, in detect_numbers
phone.set_app_state(self.get_name(), AppUsageEnum.USAGE if "\"status\":200" in result_decoded[index] else AppUsageEnum.NO_USAGE)
IndexError: list index out of range
Am i missing something here. Also way there is python code that runs go code. wont it by a better idea if all written in go or Python ??
The text was updated successfully, but these errors were encountered:
I run the code like:
Error thrown:
Am i missing something here. Also way there is python code that runs go code. wont it by a better idea if all written in go or Python ??
The text was updated successfully, but these errors were encountered: