2023-01-27 03:22:44 -08:00
|
|
|
import type { ICredentialType, INodeProperties } from 'n8n-workflow';
|
2020-11-04 03:25:18 -08:00
|
|
|
|
2020-11-04 03:26:09 -08:00
|
|
|
export class FacebookGraphAppApi implements ICredentialType {
|
|
|
|
name = 'facebookGraphAppApi';
|
2022-12-02 12:54:28 -08:00
|
|
|
|
2020-11-04 03:26:09 -08:00
|
|
|
displayName = 'Facebook Graph API (App)';
|
2022-12-02 12:54:28 -08:00
|
|
|
|
2022-12-22 08:01:29 -08:00
|
|
|
documentationUrl = 'facebookapp';
|
2022-12-02 12:54:28 -08:00
|
|
|
|
2022-07-24 08:36:17 -07:00
|
|
|
extends = ['facebookGraphApi'];
|
2022-12-02 12:54:28 -08:00
|
|
|
|
2021-06-12 09:39:55 -07:00
|
|
|
properties: INodeProperties[] = [
|
2020-11-04 03:25:18 -08:00
|
|
|
{
|
2020-11-04 03:26:09 -08:00
|
|
|
displayName: 'App Secret',
|
2020-11-04 03:25:18 -08:00
|
|
|
name: 'appSecret',
|
2021-06-12 09:39:55 -07:00
|
|
|
type: 'string',
|
2023-08-01 04:08:25 -07:00
|
|
|
typeOptions: { password: true },
|
2020-11-04 03:25:18 -08:00
|
|
|
default: '',
|
2022-07-24 08:36:17 -07:00
|
|
|
description:
|
|
|
|
'(Optional) When the app secret is set the node will verify this signature to validate the integrity and origin of the payload',
|
2020-11-04 03:25:18 -08:00
|
|
|
},
|
|
|
|
];
|
|
|
|
}
|