Fetches JSON from the Threads Graph API (GET or POST).
Threads access token.
API path.
Query parameters.
Optional
Set to "POST" for mutations; defaults to "GET".
"POST"
"GET"
Promise of response data (typed as T) or null.
T
null
Fetches JSON from the Threads Graph API (GET or POST).