videosphere
    Preparing search index...

    Function refreshFacebookPageConnection

    • Extends a long-lived user token and re-fetches a Page access token for the given Page ID.

      Parameters

      • longLivedUserToken: string

        Stored long-lived user access token.

      • pageId: string

        Facebook Page ID to refresh.

      Returns Promise<RefreshedFacebookPageTokens | { error: string }>

      Refreshed Page and user tokens, or an error message.