2022-07-24 08:36:17 -07:00
|
|
|
import { 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
|
|
|
|
2020-11-04 04:11:49 -08:00
|
|
|
documentationUrl = 'facebookGraphApp';
|
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',
|
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
|
|
|
},
|
|
|
|
];
|
|
|
|
}
|