goinsta
goinsta copied to clipboard
400 on UploadPhoto
func upload(filename string, inst *goinsta.Instagram) {
f, err := os.Open(filename)
if err != nil {
log.Fatal(err)
}
_, err = inst.UploadPhoto(f, "test", 0, 0)
if err != nil {
log.Fatal(err)
}
}
Returns invalid status code, result: 400 Bad Request. I tested to set the quality to 87, but returns always the same error. I tried also with a 1080x1800 jpg and a 374x374 jpg file.
I'm doing something wrong?
Issue Label Bot is not confident enough to auto-label this issue. See dashboard for more details.
I also encountered the same problem, the interface was good before. Other interfaces are normal, is Facebook updated the upload interface?
The same issue Something broken in upload process since 30 Oct.. https://github.com/mgp25/Instagram-API/issues/2972