Skip to content

hieven/go-instagram

Repository files navigation

go-instagram

Build Statuscodecov

Installation

$ go get github.com/hieven/go-instagram

Documentation

  • GoDoc Instagram
  • GoDoc Instagram Models

Features

This is still in an early stage. Welcome for any pull request if you find something you want but not in this repo yet.

Currently you can do

  • like/unlike media
  • get timeline feed
  • get ranked medias / recent medias of location
  • get inbox message
  • broadcast to any inbox thread
  • approve pending inbox thread

Example

ig := instagram.Create(username, password) // init an instance

ig.Login() // login Instagram

ig.TimelineFeed.Get() // get timeline feed

ig.Like(ig.TimelineFeed.Items[0].ID) // like the first item of the feed

For more complicated one, please check out

go-instagram-example

License

MIT

Terms and Conditions

  • You shouldn't use this repo for spam, massive sending or any malicious activity.
  • We don't give support to anyone who wants to violate this terms and conditions.
  • We reserve the right to block any user who doesn't meet the conditions.

Similar Projects