Skip to content

hieven/go-instagram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-instagram

Build Statuscodecov

This project is for study and personal use only. We hold no responsibilty of any use that violate Instagram's terms and conditions.

Installation

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

Documentation

  • GoDoc Instagram
  • GoDoc Instagram Models

Features

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.

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

Find more complex examples on go-instagram-example

License

MIT

Similar Projects