2020/03/26 17:21:57 error logging in: error during login: error decoding login resp: json: cannot unmarshal array into Go value of type map[string]interface {}
I'm getting this error since this morning i already updated this library but i'm still getting this error, Can anyone please help me?
Edit: See this comment
I'm having the same Issue.
same error when using hoehermann/purple-gowhatsapp
+1
Working fine here
Working fine here
Did you try restarting?
definitevly not working
Working fine here
if you restart your GO, the service down...
it seems that changing the client version to (0, 4, 1307) works again
on session.go line 21 var waVersion = []int{0, 3, 3324}
to var waVersion = []int{0, 4, 1307}
Working fine here
Did you try restarting?
Yep.
it seems that changing the client version to (0, 4, 1307) works again
on session.go line 21var waVersion = []int{0, 3, 3324}tovar waVersion = []int{0, 4, 1307}
I'm running on 0.4.1307.
or simple use wac, err := whatsapp.NewConn(20 * time.Second)
wac.SetClientVersion(0, 4, 1307)
or simple use
wac, err := whatsapp.NewConn(20 * time.Second) wac.SetClientVersion(0, 4, 1307)
Have you tried it? Does it work?
or simple use
wac, err := whatsapp.NewConn(20 * time.Second) wac.SetClientVersion(0, 4, 1307)Have you tried it? Does it work?
yes
or simple use
wac, err := whatsapp.NewConn(20 * time.Second) wac.SetClientVersion(0, 4, 1307)Have you tried it? Does it work?
Yes it's working, i tried that too
or simple use
wac, err := whatsapp.NewConn(20 * time.Second) wac.SetClientVersion(0, 4, 1307)
Thanks <3
Guys, do you have a dynamic way to solve this problem in the future? E.g by scraping the latest version number from something and use it, is that possible?
Guys, do you have a dynamic way to solve this problem in the future? E.g by scraping the latest version number from something and use it, is that possible?
ye i think there a way to get the update Version from chrome but i don't how
Guys, do you have a dynamic way to solve this problem in the future? E.g by scraping the latest version number from something and use it, is that possible?
Look at /examples/checkNewVersion
Would general question be that do we always want to exactly report newest version or however this works, automatically?
EDIT: anyway, good find :)
Would general question be that do we always want to exactly report newest version or however this works, automatically?
That works automatically. Anyways i'll be closing this issue since it's solved
EDIT: anyway, good find :)
Yep
Most helpful comment
or simple use
wac, err := whatsapp.NewConn(20 * time.Second) wac.SetClientVersion(0, 4, 1307)