On a specific account that I'm trying to login, i'm getting this error:
panic: Failed to fetch initial messages inbox snapshot: json: cannot unmarshal object into Go struct field Item.inbox.threads.items.media_share.carousel_media.overlay_subtitle of type string
I've tested the same setup with other accounts and nothing happened. Maybe it has something to do with some new structure on the Meta API JSON return?
code:
func main() {
insta := goinsta.New("username", "password")
if err := insta.Login(); err != nil {
panic(err)
}
defer insta.Logout()
fmt.Println("Logged in successfully")
}
On a specific account that I'm trying to login, i'm getting this error:
panic: Failed to fetch initial messages inbox snapshot: json: cannot unmarshal object into Go struct field Item.inbox.threads.items.media_share.carousel_media.overlay_subtitle of type stringI've tested the same setup with other accounts and nothing happened. Maybe it has something to do with some new structure on the Meta API JSON return?
code: