UNPKG

@tonytruong/chatbot-ai-lib

Version:

AI-powered healthcare automation, document parsing, OpenAI, embeddings, RAG, vector DB, Facebook OAuth.

12 lines 755 B
export interface FacebookOAuthConfig { clientId: string; clientSecret: string; redirectUri: string; scope?: string; } export declare function getFacebookAuthUrl(config: FacebookOAuthConfig, state: string): string; export declare function getFacebookAccessToken(config: FacebookOAuthConfig, code: string): Promise<any>; export declare function getFacebookPages(accessToken: string): Promise<any>; export declare function subscribePageWebhook(pageId: string, pageAccessToken: string, fields: string[]): Promise<import("axios").AxiosResponse<any, any>>; export declare function unSubscribePageWebhook(pageId: string, pageAccessToken: string): Promise<import("axios").AxiosResponse<any, any>>; //# sourceMappingURL=oauth.d.ts.map