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/Cloose28/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
- get followers/followings
- 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.
ig := instagram.Create(username, password) // init an instance ig.Login() // login Instagram ig.TimelineFeed.Get() // get timeline feed ig.Like(ig.TimelineFeed.Items.ID) // like the first item of the feed
Find more complex examples on go-instagram-example