2020-11-04 03:25:18 -08:00
|
|
|
import {
|
|
|
|
ICredentialType,
|
2021-06-12 09:39:55 -07:00
|
|
|
INodeProperties,
|
2020-11-04 03:25:18 -08:00
|
|
|
} from 'n8n-workflow';
|
|
|
|
|
2020-11-04 03:26:09 -08:00
|
|
|
export class FacebookGraphAppApi implements ICredentialType {
|
|
|
|
name = 'facebookGraphAppApi';
|
|
|
|
displayName = 'Facebook Graph API (App)';
|
2020-11-04 04:11:49 -08:00
|
|
|
documentationUrl = 'facebookGraphApp';
|
2020-11-04 03:25:18 -08:00
|
|
|
extends = [
|
|
|
|
'facebookGraphApi',
|
|
|
|
];
|
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',
|
2020-11-04 03:25:18 -08:00
|
|
|
default: '',
|
2022-04-13 23:32:27 -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
|
|
|
},
|
|
|
|
];
|
|
|
|
}
|