Golang Instagram API , Unofficial Instagram API for Golang
Unofficial Instagram API written in Golang
@mgp25 This code is in no way affiliated with, authorized, maintained, sponsored or endorsed by Instagram or any of its affiliates or subsidiaries. This is an independent and unofficial API. Use at your own risk.
Very simple and no-dependency Instagram API
This library work like android version of instagram
Make me happy :)
Bitcoin : 1KjcfrBPJtM4MfBSGTqpC6RcoEW1KBh15X
go get -u -v github.com/ahmdrz/goinsta
There is lot of methods , like uploadPhoto , follow , unfollow , comment , like and etc...
This repository is a copy of Instagram-API-Python , And original source is Instagram-API
The example is very simple !
package main
import (
"fmt"
"github.com/ahmdrz/goinsta"
)
func main() {
insta := goinsta.New("USERNAME", "PASSWORD")
if err := insta.Login(); err != nil {
panic(err)
}
defer insta.Logout()
...
}
package main
import "github.com/ahmdrz/goinsta"
func main() {
...
bytes, err := insta.Export([]byte("32Byte AES Key"))
if err != nil {
panic(err)
}
// save bytes to backup file
...
// read bytes from backup file
insta, err := goinsta.Import([]byte(bytes_from_file), []byte("32Byte AES Key"))
if err != nil {
panic(err)
}
}
Yes, you may create goinsta object using:
insta := goinsta.NewViaProxy("USERNAME", "PASSWORD", "http://<ip>:<port>")