instagram

package
v1.44.1 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2022 License: OSL-3.0 Imports: 6 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 (*Login) Decode added in v1.32.5

func (l *Login) Decode(src io.Reader) error

This can be used to decode an existing login response.

func (Login) Encode added in v1.32.2

func (l Login) Encode(dst io.Writer) error

func (Login) GraphQL added in v1.42.0

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

If `Authorization` field is empty, then anonymous request will be used.

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 (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