GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Davincible/goinsta: Unofficial Instagram API written in Golang (v2022)

BranchesTags
Open more actions menu

Latest commit

 

History

922 Commits
922 Commits

Folders and files

NameName
Last commit message
Last commit date
cmds/refreshTestAccounts
cmds/refreshTestAccounts
 
 
docs
docs
 
 
tests
tests
 
 
utilities
utilities
 
 
.gitignore
.gitignore
 
 
.travis.gofmt.sh
.travis.gofmt.sh
 
 
.travis.yml
.travis.yml
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
account.go
account.go
 
 
activity.go
activity.go
 
 
broadcasts.go
broadcasts.go
 
 
challenge.go
challenge.go
 
 
collections.go
collections.go
 
 
comments.go
comments.go
 
 
const.go
const.go
 
 
contacts.go
contacts.go
 
 
env.go
env.go
 
 
explore.go
explore.go
 
 
feeds.go
feeds.go
 
 
generator.go
generator.go
 
 
go.mod
go.mod
 
 
go.sum
go.sum
 
 
goinsta.go
goinsta.go
 
 
hashtags.go
hashtags.go
 
 
headless.go
headless.go
 
 
igtv.go
igtv.go
 
 
inbox.go
inbox.go
 
 
location.go
location.go
 
 
media.go
media.go
 
 
profiles.go
profiles.go
 
 
request.go
request.go
 
 
search.go
search.go
 
 
shortid.go
shortid.go
 
 
stories.go
stories.go
 
 
timeline.go
timeline.go
 
 
twofactor.go
twofactor.go
 
 
types.go
types.go
 
 
uploads.go
uploads.go
 
 
users.go
users.go
 
 
utils.go
utils.go
 
 
wrapper.go
wrapper.go
 
 

Repository files navigation

goinsta logo

GoDoc Go Report Card

Go Instagram Private API

Unofficial Instagram API for Golang

This repository has been forked from ahmdrz/goinsta. As the maintainer of this repositry has archived the project, and the code in the repository was based on a few year old instagram app version, since which a lot has changed, I have taken the courtesy to build upon his great framework and update the code to be compatible with apk v250.0.0.21.109 (Aug 30, 2022). Walkthrough docs can be found in the wiki.

If you are missing anything or something is not working as expected please let me know through the issues or discussions.

Features

  • HTTP2 by default. Goinsta uses HTTP2 client enhancing performance.
  • Object independency. Can handle multiple instagram accounts.
  • Like Instagram mobile application. Goinsta is very similar to Instagram official application.
  • Simple. Goinsta is made by lazy programmers!
  • Backup methods. You can use Exportand Importfunctions.
  • Security. Your password is only required to login. After login your password is deleted.
  • No External Dependencies. GoInsta will not use any Go packages outside of the standard library. goinsta now uses chromedp as headless browser driver to solve challanges and checkpoints.

Package installation

go get -u github.com/Davincible/goinsta/v3@latest

Example

package main

import (
	"fmt"

	"github.com/Davincible/goinsta/v3"
)

func main() {  
  insta := goinsta.New("USERNAME", "PASSWORD")
  
  // Only call Login the first time you login. Next time import your config
  if err := insta.Login(); err != nil {
          panic(err)
  }

  // Export your configuration
  // after exporting you can use Import function instead of New function.
  // insta, err := goinsta.Import("~/.goinsta")
  // it's useful when you want use goinsta repeatedly.
  // Export is deffered because every run insta should be exported at the end of the run
  //   as the header cookies change constantly.
  defer insta.Export("~/.goinsta")

  ...
}

For the full documentation, check the wiki, or run go doc -all.

Legal

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.

About

Unofficial Instagram API written in Golang (v2022)

Resources

Readme
MIT license

Contributing

Contributing
Activity

Stars

208 stars

Watchers

10 watching

Forks

57 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.