Skip to content

Function: parsePrivateResponse() ​

ts
function parsePrivateResponse(response): PrivateResponseJson;

Parses a private-API response, throwing a typed error on failure.

Parameters ​

ParameterType
responseHttpResponse

Returns ​

PrivateResponseJson

MIT License. Not affiliated with, endorsed or sponsored by Meta or Instagram.