A proof of concept Instagram photo-uploader using the unofficial go-insta library.
NOTE: I do not suggest you use this for anything other than playing around. You may find your account banned, who knows. All I know is that I acccept no responsibility for anything that may occur as a result of using it.
cd $GOPATH/src/github.com/jonogould
git clone git@github.com:github.com/jonogould/go-insta-poster.git
cd go-insta-poster
dep ensure
You have to configure some env variables in order to authenticate with your Instagram account.
cp .env.example .env
Add your Instagram username
and password
to the required vars in the .env
file
Now that you are configured, you can post a photo to your account.
- Add your photo to the
/example
dir - Change the values for
filename
,caption
,quality
andfilter
in themain.go
file (lines39-43
) go run main.go
A successful post would result in Result: ok