Fetches JSON from the Instagram Graph API (GET or POST depending on whether postData is provided).
postData
Instagram access token.
API path.
Query parameters (default: {}).
{}
Optional
Optional POST body (if provided, the request becomes a POST).
Promise of (T & InstagramError) | null.
(T & InstagramError) | null
Fetches JSON from the Instagram Graph API (GET or POST depending on whether
postDatais provided).