instagram-private-api
instagram-private-api copied to clipboard
Is there anyway to get muted account list?
trafficstars
I wanna get muted list where I can get from settings>privacy>muted accounts, any api exists?
There's no convenient way to do this.
POST https://i.instagram.com/api/v1/bloks/apps/com.instagram.growth.screens.muted_users/
I lost the form, but it does ask for _csrftoken and _uuid. There are two other objects.
The problem is the body:
{
"layout": {
"bloks_payload": {
"data": [],
"tree": {
"㐅": {
"*": "column",
" ": [
{
"㐈": {
"-": "(ig.action.navigation.OpenUserDetail, \"123456789\", \"muted_user\")",
" ": [
{
"㐈": {
"&": {
"㐂": {
".": "25dp",
"+": true
}
},
" ": [
{
"㐋": {
")": "AVATAR URL",
"(": "cover"
}
}
],
"": {
"㐸": {
"0": "12dp",
"D": "50dp",
"*": "50dp",
"A": 0
}
}
}
},
{
"㐈": {
")": "column",
"$": "stretch",
" ": [
{
"㐗": {
"0": {
"㐵": {
"$": "#000000",
"#": "#fafafa"
}
},
")": "ANNOYING USER",
"-": "18sp"
}
},
{
"㐗": {
"0": {
"㐵": {
"$": "#8E8E8E",
"#": "#8E8E8E"
}
},
")": "WHAT YOU ARE MUTING",
"-": "14sp"
}
}
]
}
}
],
"": {
"㐸": {
"7": "12dp",
"9": "20dp",
"D": "100%",
"=": "12dp",
":": "20dp"
}
}
}
}
],
"": {
"㐸": {
"D": "100%",
"*": "100%"
}
}
}
}
}
},
"status": "ok"
}
Replace 123456789 with user ID, AVATAR URL with avatar URL, ANNOYING USER with user's full name, and WHAT YOU ARE MUTING with a localized description of what you're muting (eg. "muting their stories").
how can u parse it this response ?