n8n/packages/nodes-base/credentials/FacebookGraphAppOAuth2Api.credentials.ts
Jon d06110ba9d
feat(Facebook Graph API Node): Add OAuth2 support (#27112)
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2026-05-12 13:32:08 +00:00

24 lines
590 B
TypeScript

import type { ICredentialType, INodeProperties } from 'n8n-workflow';
export class FacebookGraphAppOAuth2Api implements ICredentialType {
name = 'facebookGraphAppOAuth2Api';
displayName = 'Facebook Graph (App) OAuth2 API';
extends = ['facebookGraphApiOAuth2Api'];
documentationUrl = 'facebookapp';
properties: INodeProperties[] = [
{
displayName: 'App Secret',
name: 'appSecret',
type: 'string',
typeOptions: { password: true },
default: '',
description:
'(Optional) When set, the node will verify incoming webhook payloads for added security',
},
];
}