2020-11-04 03:25:18 -08:00
|
|
|
import {
|
|
|
|
ICredentialType,
|
|
|
|
NodePropertyTypes,
|
|
|
|
} 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 03:25:18 -08:00
|
|
|
extends = [
|
|
|
|
'facebookGraphApi',
|
|
|
|
];
|
|
|
|
properties = [
|
|
|
|
{
|
2020-11-04 03:26:09 -08:00
|
|
|
displayName: 'App Secret',
|
2020-11-04 03:25:18 -08:00
|
|
|
name: 'appSecret',
|
|
|
|
type: 'string' as NodePropertyTypes,
|
|
|
|
default: '',
|
|
|
|
description: '(Optional) When the app secret is set the node will verify this signature to validate the integrity and origin of the payload.',
|
|
|
|
},
|
|
|
|
];
|
|
|
|
}
|