goinsta icon indicating copy to clipboard operation
goinsta copied to clipboard

Upload not working

Open lormayna opened this issue 4 years ago • 2 comments

I am trying to upload a picture, but I got an error. This is my code:

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) } }

And this is the output:

xxx@kwaremont:~/go/src/i$ go run uploader.go 2020/08/11 11:50:37 invalid status code, result: 404 Not Found exit status 1

lormayna avatar Aug 11 '20 09:08 lormayna

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.54. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

issue-label-bot[bot] avatar Aug 11 '20 09:08 issue-label-bot[bot]

fixed in my fork

TheForgotten69 avatar Dec 23 '20 23:12 TheForgotten69