instagram

package
v1.31.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 30, 2021 License: OSL-3.0 Imports: 5 Imported by: 0

README

September 30 2021

<script type="text/javascript">
window.__additionalDataLoaded('extra',{"shortcode_media":{"__typename":"GraphS...
...tion_info":{"should_have_sharing_friction":false,"bloks_app_url":null}}}]}}});
</script>

Auth

GET /api/v1/media/2662073270019671428/info/ HTTP/2.0
Host: i.instagram.com
user-agent: Instagram 206.1.0.34.121 Android
authorization: Bearer IGT:2:eyJkc191c2VyX2lkIjoiNDkzOTg0NTg5MDUiLCJzZXNzaW9uaW...

Fuck you

https://github.com/github/dmca/blob/master/2020/01/2020-01-22-facebook.md

Documentation

Index

Constants

View Source
const Origin = "https://www.instagram.com"

Variables

View Source
var Verbose bool

Functions

func ValidID added in v1.31.2

func ValidID(id string) error

instagram.com/p/CT-cnxGhvvO

Types

type Edge added in v1.31.2

type Edge struct {
	Node struct {
		Display_URL string
	}
}

type Sidecar

type Sidecar struct {
	Shortcode_Media struct {
		Edge_Sidecar_To_Children struct {
			Edges []Edge
		}
	}
}

func NewSidecar

func NewSidecar(id string) (*Sidecar, error)

func (Sidecar) Edges added in v1.31.2

func (s Sidecar) Edges() []Edge

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL