Skip to content
This repository has been archived by the owner on Aug 25, 2023. It is now read-only.

Upload not working #318

Open
lormayna opened this issue Aug 11, 2020 · 2 comments
Open

Upload not working #318

lormayna opened this issue Aug 11, 2020 · 2 comments
Labels

Comments

@lormayna
Copy link

lormayna commented Aug 11, 2020

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

@issue-label-bot issue-label-bot bot added the bug label Aug 11, 2020
@issue-label-bot
Copy link

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

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

@TheForgotten69
Copy link

fixed in my fork

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants