go-whatsapp: Cant login
error during login: error decoding login resp: json: cannot unmarshal array into Go value of type map[string]interface {}
login successful, session: {uocSvrqQWvColFnkQ0aW2w== [] [] }
go func() {
terminal := qrcodeTerminal.New()
terminal.Get(<-qr).Print() //err here
}()
I have no session in /tmp, the problem generates when trying to generate QR code. Ive already updated to last version of the repo. Thanks in advance
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 19 (3 by maintainers)
Note that the version number is in two places: https://github.com/Rhymen/go-whatsapp/blob/master/session.go#L152 and https://github.com/Rhymen/go-whatsapp/blob/master/session.go#L306
Restoring sessions might not work if you don’t change the one on line 306 too.
session.go file line number 152. changing {0, 3, 225} to {0,3,3324} did solved it.
i found same problem. fixed by change longClientName and shortClientName with the short string