naystack - v1.5.10
    Preparing search index...
    • Fetches JSON from the Instagram Graph API (GET or POST depending on whether postData is provided).

      Parameters

      • token: string

        Instagram access token.

      • path: string

        API path.

      • params: Record<string, string> = {}

        Query parameters (default: {}).

      • OptionalpostData: object

        Optional POST body (if provided, the request becomes a POST).

      Returns Promise<T & InstagramError | null>

      Promise of (T & InstagramError) | null.