instagram

package
v1.45.5 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2022 License: OSL-3.0 Imports: 7 Imported by: 0

README

Instagram

com.instagram.android

https://github.com/itsMoji/Instagram_SSL_Pinning

How to get User-Agent?

https://github.com/89z/googleplay

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LogLevel format.LogLevel

Functions

func Valid added in v1.32.4

func Valid(shortcode string) bool

instagram.com/p/CT-cnxGhvvO instagram.com/p/yza2PAPSx2

Types

type Login added in v1.32.1

type Login struct {
	Authorization string
}

func NewLogin added in v1.32.1

func NewLogin(username, password string) (*Login, error)

func OpenLogin added in v1.44.4

func OpenLogin(name string) (*Login, error)

func (Login) Create added in v1.44.4

func (l Login) Create(name string) error

func (Login) Media added in v1.44.4

func (l Login) Media(shortcode string) (*Media, error)

Request with Authorization

type Media added in v1.31.9

type Media struct {
	Video_URL               string
	Display_URL             string
	Edge_Media_Preview_Like struct {
		Count int64
	}
	Edge_Sidecar_To_Children *struct {
		Edges []Sidecar
	}
	Edge_Media_To_Parent_Comment struct {
		Edges []struct {
			Node struct {
				Text string
			}
		}
	}
}

func NewMedia added in v1.31.9

func NewMedia(shortcode string) (*Media, error)

Anonymous request

func (Media) Sidecar added in v1.45.4

func (m Media) Sidecar() []Sidecar

func (Media) String added in v1.45.4

func (m Media) String() string

type Sidecar

type Sidecar struct {
	Node struct {
		Display_URL string
		Video_URL   string
	}
}

func (Sidecar) URL added in v1.45.4

func (s Sidecar) URL() string

Jump to

Keyboard shortcuts

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