everpcpc / pixiv

Pixiv API for Golang
MIT License
44 stars 11 forks source link

Login system error #7

Open gampangdibaca opened 3 years ago

gampangdibaca commented 3 years ago

Im having trouble with login. I dont know what is username is. coz i have tried pixiv ID, email, and nickname. (nothing works)

here is my login code : account, err := pixiv.Login("xxx", "xxx") if err != nil { log.Println(err) } fmt.Println(account)

and the message on the console : `2021/06/14 14:26:36 Login system error: Invalid grant_type parameter or parameter missing

` can anyone help me to understand this? and also if i try to get other user detail without login, i get the message missing refresh token. Thanks
everpcpc commented 3 years ago

you can try to get an access/refresh token manually: https://github.com/upbit/pixivpy/issues/158#issuecomment-780267328

eric2788 commented 1 year ago

I also have this problem