naystack - v1.9.9
    Preparing search index...

    Function refreshInstagramAccessToken

    • Refreshes a long-lived Instagram token.

      Parameters

      • token: string

      Returns Promise<{ accessToken: string; expiresIn: number | undefined } | undefined>

      { accessToken, expiresIn } (seconds), or undefined if the refresh failed.