This project is for study and personal use only. We hold no responsibilty of any use that violate Instagram's terms and conditions.
$ go get github.com/hieven/go-instagram
You can use this repo to:
- like/unlike media
- get timeline feed
- get ranked media / recent media of a location
- get inbox messages
- broadcast to any inbox thread
- approve pending inbox thread
The project is still in its early stage. Any pull request to extend its functionalities is most welcome.
cnf := &config.Config{
Username: "USERNAME",
Password: "PASSWORD",
}
ctx := context.Background()
ig, _ := instagram.New(cnf)
ig.Login(ctx)
Aresp, _ := ig.Timeline().Feed(ctx, instagram.TimelineFeedReques{})
fmt.Println(Aresp.Items[0].MediaOrAd)
Find more complex examples on examples
MIT
- instagram-private-api (Node.js)
- Instagram-API (PHP)