endpoints

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2024 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FacebookEndpoints = makeFacebookEndpoints(facebookHost)
View Source
var FacebookTorEndpoints = makeFacebookEndpoints(facebookTorHost)
View Source
var InstagramEndpoints = map[string]string{
	"host":            instaHost,
	"base_url":        instaBaseUrl,
	"login_page":      instaBaseUrl + "/accounts/login/",
	"messages":        instaBaseUrl + "/direct/inbox/",
	"thread":          instaBaseUrl + "/direct/t/",
	"graphql":         instaBaseUrl + "/api/graphql",
	"cookie_consent":  "https://graphql.instagram.com/graphql/",
	"default_graphql": "https://graphql.instagram.com/graphql/",

	"icdc_fetch":    "https://reg-e2ee.instagram.com/v2/fb_icdc_fetch",
	"icdc_register": "https://reg-e2ee.instagram.com/v2/fb_register_v2",

	"media_upload": instaBaseUrl + "/ajax/mercury/upload.php?",

	"web_login_page_v1":  instaWebApiV1Url + "/login_page/",
	"web_shared_data_v1": instaWebApiV1Url + "/data/shared_data/",
	"web_login_ajax_v1":  instaWebApiV1Url + "/accounts/login/ajax/",

	"web_profile_info": instaApiV1Url + "/users/web_profile_info/?",
	"reels_media":      instaApiV1Url + "/feed/reels_media/?",
	"media_info":       instaApiV1Url + "/media/%s/info/",
	"web_push":         instaApiV1Url + "/api/v1/web/push/register/",
}
View Source
var MessengerEndpoints = makeFacebookEndpoints(messengerHost)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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