facebook

package
v1.51.9 Latest Latest
Warning

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

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

README

Facebook

https://github.com/ytdl-org/youtube-dl/issues/30872

Web

Media:

https://www.facebook.com/video/video_data?video_id=309868367063220

Metadata:

https://www.facebook.com/video.php?v=309868367063220

Android

HTTP Toolkit:

Install Facebook app. Go to Menu, Settings & Privacy, Whitehat Settings. Click "allow user installed certificates". FORCE STOP app. Start HTTP Toolkit. Start app. Notice that requests are not being captured, and Certificate rejected errors are occurring.

https://github.com/httptoolkit/frida-android-unpinning/issues/18

MITM Proxy:

Install user certificate. Turn off proxy. Install Facebook app. Go to Menu, Settings & Privacy, Whitehat Settings. Click "allow user installed certificates". FORCE STOP app. Turn on proxy. Start app. Notice that requests are not being captured. Go back to Whitehat Settings, and click "Proxy for Platform API requests". Enter 127.0.0.1:8080. FORCE STOP app. Start app. Notice that requests are not being captured.

https://github.com/mitmproxy/mitmproxy/discussions/5271

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LogLevel format.LogLevel

Functions

This section is empty.

Types

type Input

type Input struct {
	Name  string `xml:"name,attr"`
	Value string `xml:"value,attr"`
}

type Login

type Login struct {
	Datr *http.Cookie
	Lsd  Input
}

func NewLogin

func NewLogin() (*Login, error)

func (Login) Regular

func (l Login) Regular(email, password string) (*Regular, error)

type Regular

type Regular struct {
	C_User *http.Cookie
	Xs     *http.Cookie
}

type Video

type Video struct {
	Title struct {
		Text string
	}
	Date struct {
		DateCreated string
	}
	Media struct {
		Preferred_Thumbnail struct {
			Image struct {
				URI string
			}
		}
		Playable_URL_Quality_HD string
	}
}

func NewVideo

func NewVideo(id int64) (*Video, error)

func (Video) String

func (v Video) String() string

Jump to

Keyboard shortcuts

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