instagram

package
v1.44.4 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 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

This section is empty.

Functions

func Valid added in v1.32.4

func Valid(shortcode string) bool

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

Types

type Edge added in v1.31.2

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

func (Edge) URL added in v1.35.0

func (e Edge) URL() string

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 {
	Shortcode_Media struct {
		Display_URL             string
		Edge_Media_Preview_Like struct {
			Count int
		}
		Edge_Media_To_Parent_Comment struct {
			Edges []struct {
				Node struct {
					Text string
				}
			}
		}
		Edge_Sidecar_To_Children *struct {
			Edges []Edge
		}
		Video_URL string
	}
}

func NewMedia added in v1.31.9

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

Anonymous request

func (Media) Edges added in v1.31.9

func (m Media) Edges() []Edge

Jump to

Keyboard shortcuts

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