@mookielianhd/n8n-nodes-instagram 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +64 -0
- package/dist/credentials/InstagramApi.credentials.d.ts +10 -0
- package/dist/credentials/InstagramApi.credentials.js +41 -0
- package/dist/credentials/InstagramApi.credentials.js.map +1 -0
- package/dist/credentials/facebook.svg +1 -0
- package/dist/nodes/Instagram/Instagram.node.d.ts +5 -0
- package/dist/nodes/Instagram/Instagram.node.js +307 -0
- package/dist/nodes/Instagram/Instagram.node.js.map +1 -0
- package/dist/nodes/Instagram/Instagram.node.json +18 -0
- package/dist/nodes/Instagram/instagram.dark.svg +15 -0
- package/dist/nodes/Instagram/instagram.svg +15 -0
- package/dist/nodes/Instagram/resources/image/index.d.ts +2 -0
- package/dist/nodes/Instagram/resources/image/index.js +38 -0
- package/dist/nodes/Instagram/resources/image/index.js.map +1 -0
- package/dist/nodes/Instagram/resources/index.d.ts +5 -0
- package/dist/nodes/Instagram/resources/index.js +21 -0
- package/dist/nodes/Instagram/resources/index.js.map +1 -0
- package/dist/nodes/Instagram/resources/reels/index.d.ts +2 -0
- package/dist/nodes/Instagram/resources/reels/index.js +39 -0
- package/dist/nodes/Instagram/resources/reels/index.js.map +1 -0
- package/dist/nodes/Instagram/resources/stories/index.d.ts +2 -0
- package/dist/nodes/Instagram/resources/stories/index.js +24 -0
- package/dist/nodes/Instagram/resources/stories/index.js.map +1 -0
- package/dist/nodes/Instagram/resources/types.d.ts +12 -0
- package/dist/nodes/Instagram/resources/types.js +3 -0
- package/dist/nodes/Instagram/resources/types.js.map +1 -0
- package/dist/package.json +52 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +52 -0
package/README.md
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# @mookielianhd/n8n-nodes-instagram
|
|
2
|
+
|
|
3
|
+
This package adds an Instagram Publishing node to n8n so you can send media to your Instagram Business accounts without leaving your workflow.
|
|
4
|
+
|
|
5
|
+
Instagram Publishing is powered by the Facebook Graph API and allows programmatic upload of images, reels and stories to any Instagram Business or Creator account.
|
|
6
|
+
|
|
7
|
+
[n8n](https://n8n.io/) is a [fair-code licensed](https://docs.n8n.io/sustainable-use-license/) workflow automation platform.
|
|
8
|
+
|
|
9
|
+
[Installation](#installation)
|
|
10
|
+
[Operations](#operations)
|
|
11
|
+
[Credentials](#credentials)
|
|
12
|
+
[Compatibility](#compatibility)
|
|
13
|
+
[Usage](#usage)
|
|
14
|
+
[Resources](#resources)
|
|
15
|
+
[Version history](#version-history)
|
|
16
|
+
|
|
17
|
+
## Installation
|
|
18
|
+
|
|
19
|
+
Follow the [installation guide](https://docs.n8n.io/integrations/community-nodes/installation/) in the n8n community nodes documentation.
|
|
20
|
+
|
|
21
|
+
## Operations
|
|
22
|
+
|
|
23
|
+
The node exposes three resources that follow the same two-step publish flow (media container creation + media publish):
|
|
24
|
+
|
|
25
|
+
| Resource | Description |
|
|
26
|
+
| --- | --- |
|
|
27
|
+
| `Image` | Publish a single image with an optional caption. |
|
|
28
|
+
| `Reels` | Publish a reel video. Handles container polling until the video is processed. |
|
|
29
|
+
| `Stories` | Publish a story video using the same logic as reels with `media_type=STORIES`. |
|
|
30
|
+
|
|
31
|
+
## Credentials
|
|
32
|
+
|
|
33
|
+
Create an **Instagram API** credential that stores a long-lived Facebook Graph API user access token with `instagram_basic`, `pages_show_list`, `instagram_content_publish`, and `pages_read_engagement` permissions.
|
|
34
|
+
Steps:
|
|
35
|
+
|
|
36
|
+
1. Make sure the Instagram account is a Business/Creator account connected to a Facebook Page.
|
|
37
|
+
2. Use Meta’s Graph Explorer or your own app to generate an access token that includes the scopes listed above.
|
|
38
|
+
3. Convert it to a long-lived token and paste it into the credential’s **Access Token** field.
|
|
39
|
+
4. The built-in credential test hits `https://graph.facebook.com/v22.0/me` to confirm the token works.
|
|
40
|
+
|
|
41
|
+
## Compatibility
|
|
42
|
+
|
|
43
|
+
- Built against **n8n 1.120.4** (community-node CLI v0.16).
|
|
44
|
+
- Requires n8n `>=1.0` with community nodes enabled.
|
|
45
|
+
- Uses only built-in n8n dependencies, so it is Cloud-compatible.
|
|
46
|
+
|
|
47
|
+
## Usage
|
|
48
|
+
|
|
49
|
+
1. Add the **Instagram** node to your workflow and select one of the resources (Image/Reels/Stories).
|
|
50
|
+
2. Provide the Instagram Business Account ID (the “Node” parameter), media URL and caption.
|
|
51
|
+
3. The node first creates the media container, polls Graph API until processing completes, then triggers `media_publish`.
|
|
52
|
+
4. Handle any errors returned by the API (rate limits, permissions) via the node’s error output or `Continue On Fail`.
|
|
53
|
+
|
|
54
|
+
## Resources
|
|
55
|
+
|
|
56
|
+
* [n8n community nodes documentation](https://docs.n8n.io/integrations/#community-nodes)
|
|
57
|
+
* [Instagram Graph API - Publishing](https://developers.facebook.com/docs/instagram-api/reference/ig-user/media)
|
|
58
|
+
* [Video/Reels publishing guide](https://developers.facebook.com/docs/instagram-api/guides/content-publishing/reels/)
|
|
59
|
+
|
|
60
|
+
## Version history
|
|
61
|
+
|
|
62
|
+
| Version | Notes |
|
|
63
|
+
| --- | --- |
|
|
64
|
+
| 0.1.0 | Initial release with Image, Reels and Stories publishing & built-in container polling. |
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, INodeProperties, Icon } from 'n8n-workflow';
|
|
2
|
+
export declare class InstagramApi implements ICredentialType {
|
|
3
|
+
name: string;
|
|
4
|
+
displayName: string;
|
|
5
|
+
icon: Icon;
|
|
6
|
+
documentationUrl: string;
|
|
7
|
+
properties: INodeProperties[];
|
|
8
|
+
authenticate: IAuthenticateGeneric;
|
|
9
|
+
test: ICredentialTestRequest;
|
|
10
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.InstagramApi = void 0;
|
|
4
|
+
class InstagramApi {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.name = 'instagramApi';
|
|
7
|
+
this.displayName = 'Instagram API';
|
|
8
|
+
this.icon = 'file:facebook.svg';
|
|
9
|
+
this.documentationUrl = 'https://github.com/MookieLian/n8n-nodes-instagram#credentials';
|
|
10
|
+
this.properties = [
|
|
11
|
+
{
|
|
12
|
+
displayName: 'Access Token',
|
|
13
|
+
name: 'accessToken',
|
|
14
|
+
type: 'string',
|
|
15
|
+
typeOptions: { password: true },
|
|
16
|
+
required: true,
|
|
17
|
+
default: '',
|
|
18
|
+
description: 'Instagram Graph API user access token with publish permissions',
|
|
19
|
+
},
|
|
20
|
+
];
|
|
21
|
+
this.authenticate = {
|
|
22
|
+
type: 'generic',
|
|
23
|
+
properties: {
|
|
24
|
+
qs: {
|
|
25
|
+
access_token: '={{$credentials.accessToken}}',
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
};
|
|
29
|
+
this.test = {
|
|
30
|
+
request: {
|
|
31
|
+
method: 'GET',
|
|
32
|
+
url: 'https://graph.facebook.com/v22.0/me',
|
|
33
|
+
qs: {
|
|
34
|
+
fields: 'id',
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
exports.InstagramApi = InstagramApi;
|
|
41
|
+
//# sourceMappingURL=InstagramApi.credentials.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InstagramApi.credentials.js","sourceRoot":"","sources":["../../credentials/InstagramApi.credentials.ts"],"names":[],"mappings":";;;AAQA,MAAa,YAAY;IAAzB;QACC,SAAI,GAAG,cAAc,CAAC;QACtB,gBAAW,GAAG,eAAe,CAAC;QAC9B,SAAI,GAAS,mBAAmB,CAAC;QACjC,qBAAgB,GAAG,+DAA+D,CAAC;QACnF,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,cAAc;gBAC3B,IAAI,EAAE,aAAa;gBACnB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAC/B,QAAQ,EAAE,IAAI;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,gEAAgE;aAC7E;SACD,CAAC;QACF,iBAAY,GAAyB;YACpC,IAAI,EAAE,SAAS;YACf,UAAU,EAAE;gBACX,EAAE,EAAE;oBACH,YAAY,EAAE,+BAA+B;iBAC7C;aACD;SACD,CAAC;QACF,SAAI,GAA2B;YAC9B,OAAO,EAAE;gBACR,MAAM,EAAE,KAAK;gBACb,GAAG,EAAE,qCAAqC;gBAC1C,EAAE,EAAE;oBACH,MAAM,EAAE,IAAI;iBACZ;aACD;SACD,CAAC;IACH,CAAC;CAAA;AAjCD,oCAiCC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60"><path fill="#1877f2" d="M59.5 30C59.5 13.71 46.29.5 30 .5S.5 13.71.5 30c0 14.72 10.79 26.93 24.89 29.14V38.53H17.9V30h7.49v-6.5c0-7.39 4.4-11.48 11.14-11.48 3.23 0 6.6.58 6.6.58v7.26h-3.72c-3.66 0-4.81 2.27-4.81 4.61V30h8.18l-1.31 8.53H34.6v20.61C48.71 56.93 59.5 44.72 59.5 30"/><path fill="#fff" d="M41.48 38.53 42.79 30h-8.18v-5.53c0-2.33 1.14-4.61 4.81-4.61h3.72V12.6s-3.38-.58-6.6-.58c-6.74 0-11.14 4.08-11.14 11.48V30h-7.5v8.53h7.49v20.61c1.5.24 3.04.36 4.61.36s3.11-.12 4.61-.36V38.53z"/></svg>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { IExecuteFunctions, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow';
|
|
2
|
+
export declare class Instagram implements INodeType {
|
|
3
|
+
description: INodeTypeDescription;
|
|
4
|
+
execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,307 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Instagram = void 0;
|
|
4
|
+
const n8n_workflow_1 = require("n8n-workflow");
|
|
5
|
+
const resources_1 = require("./resources");
|
|
6
|
+
const READY_STATUSES = new Set(['FINISHED', 'PUBLISHED', 'READY']);
|
|
7
|
+
const ERROR_STATUSES = new Set(['ERROR', 'FAILED']);
|
|
8
|
+
class Instagram {
|
|
9
|
+
constructor() {
|
|
10
|
+
this.description = {
|
|
11
|
+
displayName: 'Instagram',
|
|
12
|
+
name: 'instagram',
|
|
13
|
+
icon: { light: 'file:instagram.svg', dark: 'file:instagram.dark.svg' },
|
|
14
|
+
group: ['transform'],
|
|
15
|
+
version: 1,
|
|
16
|
+
description: 'Publish media to Instagram using Facebook Graph API',
|
|
17
|
+
defaults: {
|
|
18
|
+
name: 'Instagram',
|
|
19
|
+
},
|
|
20
|
+
usableAsTool: true,
|
|
21
|
+
inputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
22
|
+
outputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
23
|
+
credentials: [
|
|
24
|
+
{
|
|
25
|
+
name: 'instagramApi',
|
|
26
|
+
required: true,
|
|
27
|
+
},
|
|
28
|
+
],
|
|
29
|
+
requestDefaults: {
|
|
30
|
+
baseURL: 'https://graph.facebook.com/',
|
|
31
|
+
headers: {
|
|
32
|
+
accept: 'application/json,text/*;q=0.99',
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
properties: [
|
|
36
|
+
{
|
|
37
|
+
displayName: 'Resource',
|
|
38
|
+
name: 'resource',
|
|
39
|
+
type: 'options',
|
|
40
|
+
noDataExpression: true,
|
|
41
|
+
options: [
|
|
42
|
+
{
|
|
43
|
+
name: 'Image',
|
|
44
|
+
value: 'image',
|
|
45
|
+
description: 'Publish an image post',
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
name: 'Reel',
|
|
49
|
+
value: 'reels',
|
|
50
|
+
description: 'Publish a reel',
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
name: 'Story',
|
|
54
|
+
value: 'stories',
|
|
55
|
+
description: 'Publish a story',
|
|
56
|
+
},
|
|
57
|
+
],
|
|
58
|
+
default: 'image',
|
|
59
|
+
description: 'Select the Instagram media type to publish',
|
|
60
|
+
required: true,
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
displayName: 'Node',
|
|
64
|
+
name: 'node',
|
|
65
|
+
type: 'string',
|
|
66
|
+
default: '',
|
|
67
|
+
description: 'The Instagram Business Account ID or User ID on which to publish the media',
|
|
68
|
+
placeholder: 'me',
|
|
69
|
+
required: true,
|
|
70
|
+
},
|
|
71
|
+
...resources_1.instagramResourceFields,
|
|
72
|
+
{
|
|
73
|
+
displayName: 'Caption',
|
|
74
|
+
name: 'caption',
|
|
75
|
+
type: 'string',
|
|
76
|
+
default: '',
|
|
77
|
+
description: 'The caption text for the Instagram post',
|
|
78
|
+
required: true,
|
|
79
|
+
},
|
|
80
|
+
],
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
async execute() {
|
|
84
|
+
var _a, _b, _c, _d, _e, _f;
|
|
85
|
+
const items = this.getInputData();
|
|
86
|
+
const returnItems = [];
|
|
87
|
+
const waitForContainerReady = async ({ creationId, hostUrl, graphApiVersion, itemIndex, pollIntervalMs, maxPollAttempts, }) => {
|
|
88
|
+
const statusUri = `https://${hostUrl}/${graphApiVersion}/${creationId}`;
|
|
89
|
+
const statusFields = ['status_code', 'status'];
|
|
90
|
+
const pollRequestOptions = {
|
|
91
|
+
headers: {
|
|
92
|
+
accept: 'application/json,text/*;q=0.99',
|
|
93
|
+
},
|
|
94
|
+
method: 'GET',
|
|
95
|
+
url: statusUri,
|
|
96
|
+
qs: {
|
|
97
|
+
fields: statusFields.join(','),
|
|
98
|
+
},
|
|
99
|
+
json: true,
|
|
100
|
+
};
|
|
101
|
+
let lastStatus;
|
|
102
|
+
for (let attempt = 1; attempt <= maxPollAttempts; attempt++) {
|
|
103
|
+
const statusResponse = (await this.helpers.httpRequestWithAuthentication.call(this, 'instagramApi', pollRequestOptions));
|
|
104
|
+
const statuses = statusFields
|
|
105
|
+
.map((field) => statusResponse[field])
|
|
106
|
+
.filter((value) => typeof value === 'string')
|
|
107
|
+
.map((value) => value.toUpperCase());
|
|
108
|
+
if (statuses.length > 0) {
|
|
109
|
+
lastStatus = statuses[0];
|
|
110
|
+
}
|
|
111
|
+
if (statuses.some((status) => READY_STATUSES.has(status))) {
|
|
112
|
+
return;
|
|
113
|
+
}
|
|
114
|
+
if (statuses.some((status) => ERROR_STATUSES.has(status))) {
|
|
115
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Media container reported error status (${statuses.join(', ')}) while waiting to publish.`, { itemIndex });
|
|
116
|
+
}
|
|
117
|
+
await (0, n8n_workflow_1.sleep)(pollIntervalMs);
|
|
118
|
+
}
|
|
119
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Timed out waiting for container to become ready. Last known status: ${lastStatus !== null && lastStatus !== void 0 ? lastStatus : 'unknown'}.`, { itemIndex });
|
|
120
|
+
};
|
|
121
|
+
const isMediaNotReadyError = (error) => {
|
|
122
|
+
var _a, _b, _c, _d;
|
|
123
|
+
const errorWithGraph = error;
|
|
124
|
+
const graphError = (_b = (_a = errorWithGraph === null || errorWithGraph === void 0 ? void 0 : errorWithGraph.response) === null || _a === void 0 ? void 0 : _a.body) === null || _b === void 0 ? void 0 : _b.error;
|
|
125
|
+
if (!graphError)
|
|
126
|
+
return false;
|
|
127
|
+
const message = (_d = (_c = graphError.message) === null || _c === void 0 ? void 0 : _c.toLowerCase()) !== null && _d !== void 0 ? _d : '';
|
|
128
|
+
const code = graphError.code;
|
|
129
|
+
const subcode = graphError.error_subcode;
|
|
130
|
+
return (message.includes('not ready') ||
|
|
131
|
+
message.includes('not finished') ||
|
|
132
|
+
message.includes('not yet') ||
|
|
133
|
+
code === 900 ||
|
|
134
|
+
subcode === 2207055);
|
|
135
|
+
};
|
|
136
|
+
for (let itemIndex = 0; itemIndex < items.length; itemIndex++) {
|
|
137
|
+
try {
|
|
138
|
+
const resource = this.getNodeParameter('resource', itemIndex);
|
|
139
|
+
const handler = resources_1.instagramResourceHandlers[resource];
|
|
140
|
+
if (!handler) {
|
|
141
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Unsupported resource: ${resource}`, {
|
|
142
|
+
itemIndex,
|
|
143
|
+
});
|
|
144
|
+
}
|
|
145
|
+
const node = this.getNodeParameter('node', itemIndex);
|
|
146
|
+
const caption = this.getNodeParameter('caption', itemIndex);
|
|
147
|
+
const hostUrl = 'graph.facebook.com';
|
|
148
|
+
const graphApiVersion = 'v22.0';
|
|
149
|
+
const httpRequestMethod = 'POST';
|
|
150
|
+
const mediaUri = `https://${hostUrl}/${graphApiVersion}/${node}/media`;
|
|
151
|
+
const mediaPayload = handler.buildMediaPayload.call(this, itemIndex);
|
|
152
|
+
const mediaQs = {
|
|
153
|
+
caption,
|
|
154
|
+
...mediaPayload,
|
|
155
|
+
};
|
|
156
|
+
const mediaRequestOptions = {
|
|
157
|
+
headers: {
|
|
158
|
+
accept: 'application/json,text/*;q=0.99',
|
|
159
|
+
},
|
|
160
|
+
method: httpRequestMethod,
|
|
161
|
+
url: mediaUri,
|
|
162
|
+
qs: mediaQs,
|
|
163
|
+
json: true,
|
|
164
|
+
};
|
|
165
|
+
let mediaResponse;
|
|
166
|
+
try {
|
|
167
|
+
mediaResponse = await this.helpers.httpRequestWithAuthentication.call(this, 'instagramApi', mediaRequestOptions);
|
|
168
|
+
}
|
|
169
|
+
catch (error) {
|
|
170
|
+
if (!this.continueOnFail()) {
|
|
171
|
+
throw new n8n_workflow_1.NodeApiError(this.getNode(), error);
|
|
172
|
+
}
|
|
173
|
+
let errorItem;
|
|
174
|
+
const err = error;
|
|
175
|
+
if (err.response !== undefined) {
|
|
176
|
+
const graphApiErrors = (_b = (_a = err.response.body) === null || _a === void 0 ? void 0 : _a.error) !== null && _b !== void 0 ? _b : {};
|
|
177
|
+
errorItem = {
|
|
178
|
+
statusCode: err.statusCode,
|
|
179
|
+
...graphApiErrors,
|
|
180
|
+
headers: err.response.headers,
|
|
181
|
+
};
|
|
182
|
+
}
|
|
183
|
+
else {
|
|
184
|
+
errorItem = err;
|
|
185
|
+
}
|
|
186
|
+
returnItems.push({ json: errorItem });
|
|
187
|
+
continue;
|
|
188
|
+
}
|
|
189
|
+
if (typeof mediaResponse === 'string') {
|
|
190
|
+
if (!this.continueOnFail()) {
|
|
191
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Media creation response body is not valid JSON.', {
|
|
192
|
+
itemIndex,
|
|
193
|
+
});
|
|
194
|
+
}
|
|
195
|
+
returnItems.push({ json: { message: mediaResponse } });
|
|
196
|
+
continue;
|
|
197
|
+
}
|
|
198
|
+
const creationId = mediaResponse.id;
|
|
199
|
+
if (!creationId) {
|
|
200
|
+
if (!this.continueOnFail()) {
|
|
201
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Media creation response did not contain an id (creation_id).', { itemIndex });
|
|
202
|
+
}
|
|
203
|
+
returnItems.push({ json: { error: 'No creation_id in response', response: mediaResponse } });
|
|
204
|
+
continue;
|
|
205
|
+
}
|
|
206
|
+
await waitForContainerReady({
|
|
207
|
+
creationId,
|
|
208
|
+
hostUrl,
|
|
209
|
+
graphApiVersion,
|
|
210
|
+
itemIndex,
|
|
211
|
+
pollIntervalMs: handler.pollIntervalMs,
|
|
212
|
+
maxPollAttempts: handler.maxPollAttempts,
|
|
213
|
+
});
|
|
214
|
+
const publishUri = `https://${hostUrl}/${graphApiVersion}/${node}/media_publish`;
|
|
215
|
+
const publishQs = {
|
|
216
|
+
creation_id: creationId,
|
|
217
|
+
};
|
|
218
|
+
const publishRequestOptions = {
|
|
219
|
+
headers: {
|
|
220
|
+
accept: 'application/json,text/*;q=0.99',
|
|
221
|
+
},
|
|
222
|
+
method: httpRequestMethod,
|
|
223
|
+
url: publishUri,
|
|
224
|
+
qs: publishQs,
|
|
225
|
+
json: true,
|
|
226
|
+
};
|
|
227
|
+
const publishRetryDelay = handler.publishRetryDelay;
|
|
228
|
+
const publishMaxAttempts = handler.publishMaxAttempts;
|
|
229
|
+
let publishResponse;
|
|
230
|
+
let publishSucceeded = false;
|
|
231
|
+
let publishFailedWithError = false;
|
|
232
|
+
for (let attempt = 1; attempt <= publishMaxAttempts; attempt++) {
|
|
233
|
+
try {
|
|
234
|
+
publishResponse = await this.helpers.httpRequestWithAuthentication.call(this, 'instagramApi', publishRequestOptions);
|
|
235
|
+
publishSucceeded = true;
|
|
236
|
+
break;
|
|
237
|
+
}
|
|
238
|
+
catch (error) {
|
|
239
|
+
if (isMediaNotReadyError(error) && attempt < publishMaxAttempts) {
|
|
240
|
+
await (0, n8n_workflow_1.sleep)(publishRetryDelay);
|
|
241
|
+
continue;
|
|
242
|
+
}
|
|
243
|
+
if (!this.continueOnFail()) {
|
|
244
|
+
throw new n8n_workflow_1.NodeApiError(this.getNode(), error);
|
|
245
|
+
}
|
|
246
|
+
let errorItem;
|
|
247
|
+
const err = error;
|
|
248
|
+
if (err.response !== undefined) {
|
|
249
|
+
const graphApiErrors = (_d = (_c = err.response.body) === null || _c === void 0 ? void 0 : _c.error) !== null && _d !== void 0 ? _d : {};
|
|
250
|
+
errorItem = {
|
|
251
|
+
statusCode: err.statusCode,
|
|
252
|
+
...graphApiErrors,
|
|
253
|
+
headers: err.response.headers,
|
|
254
|
+
creation_id: creationId,
|
|
255
|
+
note: 'Media was created but publishing failed',
|
|
256
|
+
};
|
|
257
|
+
}
|
|
258
|
+
else {
|
|
259
|
+
errorItem = { ...error, creation_id: creationId, note: 'Media was created but publishing failed' };
|
|
260
|
+
}
|
|
261
|
+
returnItems.push({ json: { ...errorItem } });
|
|
262
|
+
publishFailedWithError = true;
|
|
263
|
+
break;
|
|
264
|
+
}
|
|
265
|
+
if (publishFailedWithError) {
|
|
266
|
+
continue;
|
|
267
|
+
}
|
|
268
|
+
if (!publishSucceeded) {
|
|
269
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Failed to publish media after ${publishMaxAttempts} attempts due to container not being ready.`, { itemIndex });
|
|
270
|
+
}
|
|
271
|
+
if (typeof publishResponse === 'string') {
|
|
272
|
+
if (!this.continueOnFail()) {
|
|
273
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Media publish response body is not valid JSON.', {
|
|
274
|
+
itemIndex,
|
|
275
|
+
});
|
|
276
|
+
}
|
|
277
|
+
returnItems.push({ json: { message: publishResponse } });
|
|
278
|
+
continue;
|
|
279
|
+
}
|
|
280
|
+
returnItems.push({ json: publishResponse });
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
catch (error) {
|
|
284
|
+
if (!this.continueOnFail()) {
|
|
285
|
+
throw new n8n_workflow_1.NodeApiError(this.getNode(), error);
|
|
286
|
+
}
|
|
287
|
+
let errorItem;
|
|
288
|
+
const errorWithGraph = error;
|
|
289
|
+
if (errorWithGraph.response !== undefined) {
|
|
290
|
+
const graphApiErrors = (_f = (_e = errorWithGraph.response.body) === null || _e === void 0 ? void 0 : _e.error) !== null && _f !== void 0 ? _f : {};
|
|
291
|
+
errorItem = {
|
|
292
|
+
statusCode: errorWithGraph.statusCode,
|
|
293
|
+
...graphApiErrors,
|
|
294
|
+
headers: errorWithGraph.response.headers,
|
|
295
|
+
};
|
|
296
|
+
}
|
|
297
|
+
else {
|
|
298
|
+
errorItem = error;
|
|
299
|
+
}
|
|
300
|
+
returnItems.push({ json: { ...errorItem } });
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
return [returnItems];
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
exports.Instagram = Instagram;
|
|
307
|
+
//# sourceMappingURL=Instagram.node.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Instagram.node.js","sourceRoot":"","sources":["../../../nodes/Instagram/Inst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D,WAAW,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,eAAe,EAAE,CAAC,CAAC;gBAC7C,CAAC;YACF,CAAC;YAAC,OAAO,KAAK,EAAE,CAAC;gBACf,IAAI,CAAC,IAAI,CAAC,cAAc,EAAE,EAAE,CAAC;oBAC5B,MAAM,IAAI,2BAAY,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,KAAmB,CAAC,CAAC;gBAC7D,CAAC;gBAED,IAAI,SAAS,CAAC;gBAed,MAAM,cAAc,GAAG,KAAuB,CAAC;gBAC/C,IAAI,cAAc,CAAC,QAAQ,KAAK,SAAS,EAAE,CAAC;oBAC3C,MAAM,cAAc,GAAG,MAAA,MAAA,cAAc,CAAC,QAAQ,CAAC,IAAI,0CAAE,KAAK,mCAAI,EAAE,CAAC;oBACjE,SAAS,GAAG;wBACX,UAAU,EAAE,cAAc,CAAC,UAAU;wBACrC,GAAG,cAAc;wBACjB,OAAO,EAAE,cAAc,CAAC,QAAQ,CAAC,OAAO;qBACxC,CAAC;gBACH,CAAC;qBAAM,CAAC;oBACP,SAAS,GAAG,KAAK,CAAC;gBACnB,CAAC;gBACD,WAAW,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,EAAE,GAAG,SAAS,EAAE,EAAE,CAAC,CAAC;YAC9C,CAAC;QACF,CAAC;QAED,OAAO,CAAC,WAAW,CAAC,CAAC;IACtB,CAAC;CACD;AA/ZD,8BA+ZC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"node": "@mookielianhd/n8n-nodes-instagram",
|
|
3
|
+
"nodeVersion": "1.0",
|
|
4
|
+
"codexVersion": "1.0",
|
|
5
|
+
"categories": ["Development", "Developer Tools"],
|
|
6
|
+
"resources": {
|
|
7
|
+
"credentialDocumentation": [
|
|
8
|
+
{
|
|
9
|
+
"url": "https://docs.n8n.io/integrations/builtin/credentials/facebookgraph/"
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"primaryDocumentation": [
|
|
13
|
+
{
|
|
14
|
+
"url": "https://developers.facebook.com/docs/instagram-api/guides/content-publishing"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="102" height="102" viewBox="0 0 102 102" id="instagram">
|
|
2
|
+
<defs>
|
|
3
|
+
<radialGradient id="a" cx="6.601" cy="99.766" r="129.502" gradientUnits="userSpaceOnUse">
|
|
4
|
+
<stop offset=".09" stop-color="#fa8f21"></stop>
|
|
5
|
+
<stop offset=".78" stop-color="#d82d7e"></stop>
|
|
6
|
+
</radialGradient>
|
|
7
|
+
<radialGradient id="b" cx="70.652" cy="96.49" r="113.963" gradientUnits="userSpaceOnUse">
|
|
8
|
+
<stop offset=".64" stop-color="#8c3aaa" stop-opacity="0"></stop>
|
|
9
|
+
<stop offset="1" stop-color="#8c3aaa"></stop>
|
|
10
|
+
</radialGradient>
|
|
11
|
+
</defs>
|
|
12
|
+
<path fill="url(#a)" d="M25.865,101.639A34.341,34.341,0,0,1,14.312,99.5a19.329,19.329,0,0,1-7.154-4.653A19.181,19.181,0,0,1,2.5,87.694,34.341,34.341,0,0,1,.364,76.142C.061,69.584,0,67.617,0,51s.067-18.577.361-25.14A34.534,34.534,0,0,1,2.5,14.312,19.4,19.4,0,0,1,7.154,7.154,19.206,19.206,0,0,1,14.309,2.5,34.341,34.341,0,0,1,25.862.361C32.422.061,34.392,0,51,0s18.577.067,25.14.361A34.534,34.534,0,0,1,87.691,2.5a19.254,19.254,0,0,1,7.154,4.653A19.267,19.267,0,0,1,99.5,14.309a34.341,34.341,0,0,1,2.14,11.553c.3,6.563.361,8.528.361,25.14s-.061,18.577-.361,25.14A34.5,34.5,0,0,1,99.5,87.694,20.6,20.6,0,0,1,87.691,99.5a34.342,34.342,0,0,1-11.553,2.14c-6.557.3-8.528.361-25.14.361s-18.577-.058-25.134-.361"></path>
|
|
13
|
+
<path fill="url(#b)" d="M25.865,101.639A34.341,34.341,0,0,1,14.312,99.5a19.329,19.329,0,0,1-7.154-4.653A19.181,19.181,0,0,1,2.5,87.694,34.341,34.341,0,0,1,.364,76.142C.061,69.584,0,67.617,0,51s.067-18.577.361-25.14A34.534,34.534,0,0,1,2.5,14.312,19.4,19.4,0,0,1,7.154,7.154,19.206,19.206,0,0,1,14.309,2.5,34.341,34.341,0,0,1,25.862.361C32.422.061,34.392,0,51,0s18.577.067,25.14.361A34.534,34.534,0,0,1,87.691,2.5a19.254,19.254,0,0,1,7.154,4.653A19.267,19.267,0,0,1,99.5,14.309a34.341,34.341,0,0,1,2.14,11.553c.3,6.563.361,8.528.361,25.14s-.061,18.577-.361,25.14A34.5,34.5,0,0,1,99.5,87.694,20.6,20.6,0,0,1,87.691,99.5a34.342,34.342,0,0,1-11.553,2.14c-6.557.3-8.528.361-25.14.361s-18.577-.058-25.134-.361"></path>
|
|
14
|
+
<path fill="#fff" d="M461.114,477.413a12.631,12.631,0,1,1,12.629,12.632,12.631,12.631,0,0,1-12.629-12.632m-6.829,0a19.458,19.458,0,1,0,19.458-19.458,19.457,19.457,0,0,0-19.458,19.458m35.139-20.229a4.547,4.547,0,1,0,4.549-4.545h0a4.549,4.549,0,0,0-4.547,4.545m-30.99,51.074a20.943,20.943,0,0,1-7.037-1.3,12.547,12.547,0,0,1-7.193-7.19,20.923,20.923,0,0,1-1.3-7.037c-.184-3.994-.22-5.194-.22-15.313s.04-11.316.22-15.314a21.082,21.082,0,0,1,1.3-7.037,12.54,12.54,0,0,1,7.193-7.193,20.924,20.924,0,0,1,7.037-1.3c3.994-.184,5.194-.22,15.309-.22s11.316.039,15.314.221a21.082,21.082,0,0,1,7.037,1.3,12.541,12.541,0,0,1,7.193,7.193,20.926,20.926,0,0,1,1.3,7.037c.184,4,.22,5.194.22,15.314s-.037,11.316-.22,15.314a21.023,21.023,0,0,1-1.3,7.037,12.547,12.547,0,0,1-7.193,7.19,20.925,20.925,0,0,1-7.037,1.3c-3.994.184-5.194.22-15.314.22s-11.316-.037-15.309-.22m-.314-68.509a27.786,27.786,0,0,0-9.2,1.76,19.373,19.373,0,0,0-11.083,11.083,27.794,27.794,0,0,0-1.76,9.2c-.187,4.04-.229,5.332-.229,15.623s.043,11.582.229,15.623a27.793,27.793,0,0,0,1.76,9.2,19.374,19.374,0,0,0,11.083,11.083,27.813,27.813,0,0,0,9.2,1.76c4.042.184,5.332.229,15.623.229s11.582-.043,15.623-.229a27.8,27.8,0,0,0,9.2-1.76,19.374,19.374,0,0,0,11.083-11.083,27.716,27.716,0,0,0,1.76-9.2c.184-4.043.226-5.332.226-15.623s-.043-11.582-.226-15.623a27.786,27.786,0,0,0-1.76-9.2,19.379,19.379,0,0,0-11.08-11.083,27.748,27.748,0,0,0-9.2-1.76c-4.041-.185-5.332-.229-15.621-.229s-11.583.043-15.626.229" transform="translate(-422.637 -426.196)"></path>
|
|
15
|
+
</svg>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="102" height="102" viewBox="0 0 102 102" id="instagram">
|
|
2
|
+
<defs>
|
|
3
|
+
<radialGradient id="a" cx="6.601" cy="99.766" r="129.502" gradientUnits="userSpaceOnUse">
|
|
4
|
+
<stop offset=".09" stop-color="#fa8f21"></stop>
|
|
5
|
+
<stop offset=".78" stop-color="#d82d7e"></stop>
|
|
6
|
+
</radialGradient>
|
|
7
|
+
<radialGradient id="b" cx="70.652" cy="96.49" r="113.963" gradientUnits="userSpaceOnUse">
|
|
8
|
+
<stop offset=".64" stop-color="#8c3aaa" stop-opacity="0"></stop>
|
|
9
|
+
<stop offset="1" stop-color="#8c3aaa"></stop>
|
|
10
|
+
</radialGradient>
|
|
11
|
+
</defs>
|
|
12
|
+
<path fill="url(#a)" d="M25.865,101.639A34.341,34.341,0,0,1,14.312,99.5a19.329,19.329,0,0,1-7.154-4.653A19.181,19.181,0,0,1,2.5,87.694,34.341,34.341,0,0,1,.364,76.142C.061,69.584,0,67.617,0,51s.067-18.577.361-25.14A34.534,34.534,0,0,1,2.5,14.312,19.4,19.4,0,0,1,7.154,7.154,19.206,19.206,0,0,1,14.309,2.5,34.341,34.341,0,0,1,25.862.361C32.422.061,34.392,0,51,0s18.577.067,25.14.361A34.534,34.534,0,0,1,87.691,2.5a19.254,19.254,0,0,1,7.154,4.653A19.267,19.267,0,0,1,99.5,14.309a34.341,34.341,0,0,1,2.14,11.553c.3,6.563.361,8.528.361,25.14s-.061,18.577-.361,25.14A34.5,34.5,0,0,1,99.5,87.694,20.6,20.6,0,0,1,87.691,99.5a34.342,34.342,0,0,1-11.553,2.14c-6.557.3-8.528.361-25.14.361s-18.577-.058-25.134-.361"></path>
|
|
13
|
+
<path fill="url(#b)" d="M25.865,101.639A34.341,34.341,0,0,1,14.312,99.5a19.329,19.329,0,0,1-7.154-4.653A19.181,19.181,0,0,1,2.5,87.694,34.341,34.341,0,0,1,.364,76.142C.061,69.584,0,67.617,0,51s.067-18.577.361-25.14A34.534,34.534,0,0,1,2.5,14.312,19.4,19.4,0,0,1,7.154,7.154,19.206,19.206,0,0,1,14.309,2.5,34.341,34.341,0,0,1,25.862.361C32.422.061,34.392,0,51,0s18.577.067,25.14.361A34.534,34.534,0,0,1,87.691,2.5a19.254,19.254,0,0,1,7.154,4.653A19.267,19.267,0,0,1,99.5,14.309a34.341,34.341,0,0,1,2.14,11.553c.3,6.563.361,8.528.361,25.14s-.061,18.577-.361,25.14A34.5,34.5,0,0,1,99.5,87.694,20.6,20.6,0,0,1,87.691,99.5a34.342,34.342,0,0,1-11.553,2.14c-6.557.3-8.528.361-25.14.361s-18.577-.058-25.134-.361"></path>
|
|
14
|
+
<path fill="#fff" d="M461.114,477.413a12.631,12.631,0,1,1,12.629,12.632,12.631,12.631,0,0,1-12.629-12.632m-6.829,0a19.458,19.458,0,1,0,19.458-19.458,19.457,19.457,0,0,0-19.458,19.458m35.139-20.229a4.547,4.547,0,1,0,4.549-4.545h0a4.549,4.549,0,0,0-4.547,4.545m-30.99,51.074a20.943,20.943,0,0,1-7.037-1.3,12.547,12.547,0,0,1-7.193-7.19,20.923,20.923,0,0,1-1.3-7.037c-.184-3.994-.22-5.194-.22-15.313s.04-11.316.22-15.314a21.082,21.082,0,0,1,1.3-7.037,12.54,12.54,0,0,1,7.193-7.193,20.924,20.924,0,0,1,7.037-1.3c3.994-.184,5.194-.22,15.309-.22s11.316.039,15.314.221a21.082,21.082,0,0,1,7.037,1.3,12.541,12.541,0,0,1,7.193,7.193,20.926,20.926,0,0,1,1.3,7.037c.184,4,.22,5.194.22,15.314s-.037,11.316-.22,15.314a21.023,21.023,0,0,1-1.3,7.037,12.547,12.547,0,0,1-7.193,7.19,20.925,20.925,0,0,1-7.037,1.3c-3.994.184-5.194.22-15.314.22s-11.316-.037-15.309-.22m-.314-68.509a27.786,27.786,0,0,0-9.2,1.76,19.373,19.373,0,0,0-11.083,11.083,27.794,27.794,0,0,0-1.76,9.2c-.187,4.04-.229,5.332-.229,15.623s.043,11.582.229,15.623a27.793,27.793,0,0,0,1.76,9.2,19.374,19.374,0,0,0,11.083,11.083,27.813,27.813,0,0,0,9.2,1.76c4.042.184,5.332.229,15.623.229s11.582-.043,15.623-.229a27.8,27.8,0,0,0,9.2-1.76,19.374,19.374,0,0,0,11.083-11.083,27.716,27.716,0,0,0,1.76-9.2c.184-4.043.226-5.332.226-15.623s-.043-11.582-.226-15.623a27.786,27.786,0,0,0-1.76-9.2,19.379,19.379,0,0,0-11.08-11.083,27.748,27.748,0,0,0-9.2-1.76c-4.041-.185-5.332-.229-15.621-.229s-11.583.043-15.626.229" transform="translate(-422.637 -426.196)"></path>
|
|
15
|
+
</svg>
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.imageResource = void 0;
|
|
4
|
+
const imageFields = [
|
|
5
|
+
{
|
|
6
|
+
displayName: 'Image URL',
|
|
7
|
+
name: 'imageUrl',
|
|
8
|
+
type: 'string',
|
|
9
|
+
default: '',
|
|
10
|
+
description: 'The URL of the image to publish on Instagram',
|
|
11
|
+
required: true,
|
|
12
|
+
displayOptions: {
|
|
13
|
+
show: {
|
|
14
|
+
resource: ['image'],
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
];
|
|
19
|
+
exports.imageResource = {
|
|
20
|
+
value: 'image',
|
|
21
|
+
option: {
|
|
22
|
+
name: 'Image',
|
|
23
|
+
value: 'image',
|
|
24
|
+
description: 'Publish an image post',
|
|
25
|
+
},
|
|
26
|
+
fields: imageFields,
|
|
27
|
+
pollIntervalMs: 1500,
|
|
28
|
+
maxPollAttempts: 20,
|
|
29
|
+
publishRetryDelay: 1500,
|
|
30
|
+
publishMaxAttempts: 3,
|
|
31
|
+
buildMediaPayload(itemIndex) {
|
|
32
|
+
const imageUrl = this.getNodeParameter('imageUrl', itemIndex);
|
|
33
|
+
return {
|
|
34
|
+
image_url: imageUrl,
|
|
35
|
+
};
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Instagram/resources/image/index.ts"],"names":[],"mappings":";;;AAGA,MAAM,WAAW,GAAsB;IACtC;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,8CAA8C;QAC3D,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,OAAO,CAAC;aACnB;SACD;KACD;CACD,CAAC;AAEW,QAAA,aAAa,GAAoB;IAC7C,KAAK,EAAE,OAAO;IACd,MAAM,EAAE;QACP,IAAI,EAAE,OAAO;QACb,KAAK,EAAE,OAAO;QACd,WAAW,EAAE,uBAAuB;KACpC;IACD,MAAM,EAAE,WAAW;IACnB,cAAc,EAAE,IAAI;IACpB,eAAe,EAAE,EAAE;IACnB,iBAAiB,EAAE,IAAI;IACvB,kBAAkB,EAAE,CAAC;IACrB,iBAAiB,CAA0B,SAAiB;QAC3D,MAAM,QAAQ,GAAG,IAAI,CAAC,gBAAgB,CAAC,UAAU,EAAE,SAAS,CAAW,CAAC;QACxE,OAAO;YACN,SAAS,EAAE,QAAQ;SACnB,CAAC;IACH,CAAC;CACD,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { INodeProperties } from 'n8n-workflow';
|
|
2
|
+
import type { InstagramResourceType, ResourceHandler } from './types';
|
|
3
|
+
export declare const instagramResourceHandlers: Record<InstagramResourceType, ResourceHandler>;
|
|
4
|
+
export declare const instagramResourceOptions: import("n8n-workflow").INodePropertyOptions[];
|
|
5
|
+
export declare const instagramResourceFields: INodeProperties[];
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.instagramResourceFields = exports.instagramResourceOptions = exports.instagramResourceHandlers = void 0;
|
|
4
|
+
const image_1 = require("./image");
|
|
5
|
+
const reels_1 = require("./reels");
|
|
6
|
+
const stories_1 = require("./stories");
|
|
7
|
+
const handlers = {
|
|
8
|
+
image: image_1.imageResource,
|
|
9
|
+
reels: reels_1.reelsResource,
|
|
10
|
+
stories: stories_1.storiesResource,
|
|
11
|
+
};
|
|
12
|
+
exports.instagramResourceHandlers = handlers;
|
|
13
|
+
exports.instagramResourceOptions = Object.values(handlers).map((handler) => handler.option);
|
|
14
|
+
const fieldMap = new Map();
|
|
15
|
+
for (const handler of Object.values(handlers)) {
|
|
16
|
+
for (const field of handler.fields) {
|
|
17
|
+
fieldMap.set(field.name, field);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
exports.instagramResourceFields = Array.from(fieldMap.values());
|
|
21
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../nodes/Instagram/resources/index.ts"],"names":[],"mappings":";;;AAEA,mCAAwC;AACxC,mCAAwC;AACxC,uCAA4C;AAE5C,MAAM,QAAQ,GAAmD;IAChE,KAAK,EAAE,qBAAa;IACpB,KAAK,EAAE,qBAAa;IACpB,OAAO,EAAE,yBAAe;CACxB,CAAC;AAEW,QAAA,yBAAyB,GAAG,QAAQ,CAAC;AAErC,QAAA,wBAAwB,GAAG,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;AAEjG,MAAM,QAAQ,GAAG,IAAI,GAAG,EAA2B,CAAC;AACpD,KAAK,MAAM,OAAO,IAAI,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAC;IAC/C,KAAK,MAAM,KAAK,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC;QACpC,QAAQ,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IACjC,CAAC;AACF,CAAC;AAEY,QAAA,uBAAuB,GAAG,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.reelsResource = void 0;
|
|
4
|
+
const reelsFields = [
|
|
5
|
+
{
|
|
6
|
+
displayName: 'Video URL',
|
|
7
|
+
name: 'videoUrl',
|
|
8
|
+
type: 'string',
|
|
9
|
+
default: '',
|
|
10
|
+
description: 'The URL of the video to publish as a reel or story on Instagram',
|
|
11
|
+
required: true,
|
|
12
|
+
displayOptions: {
|
|
13
|
+
show: {
|
|
14
|
+
resource: ['reels', 'stories'],
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
];
|
|
19
|
+
exports.reelsResource = {
|
|
20
|
+
value: 'reels',
|
|
21
|
+
option: {
|
|
22
|
+
name: 'Reels',
|
|
23
|
+
value: 'reels',
|
|
24
|
+
description: 'Publish a reel',
|
|
25
|
+
},
|
|
26
|
+
fields: reelsFields,
|
|
27
|
+
pollIntervalMs: 3000,
|
|
28
|
+
maxPollAttempts: 80,
|
|
29
|
+
publishRetryDelay: 3000,
|
|
30
|
+
publishMaxAttempts: 6,
|
|
31
|
+
buildMediaPayload(itemIndex) {
|
|
32
|
+
const videoUrl = this.getNodeParameter('videoUrl', itemIndex);
|
|
33
|
+
return {
|
|
34
|
+
video_url: videoUrl,
|
|
35
|
+
media_type: 'REELS',
|
|
36
|
+
};
|
|
37
|
+
},
|
|
38
|
+
};
|
|
39
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Instagram/resources/reels/index.ts"],"names":[],"mappings":";;;AAGA,MAAM,WAAW,GAAsB;IACtC;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,iEAAiE;QAC9E,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,OAAO,EAAE,SAAS,CAAC;aAC9B;SACD;KACD;CACD,CAAC;AAEW,QAAA,aAAa,GAAoB;IAC7C,KAAK,EAAE,OAAO;IACd,MAAM,EAAE;QACP,IAAI,EAAE,OAAO;QACb,KAAK,EAAE,OAAO;QACd,WAAW,EAAE,gBAAgB;KAC7B;IACD,MAAM,EAAE,WAAW;IACnB,cAAc,EAAE,IAAI;IACpB,eAAe,EAAE,EAAE;IACnB,iBAAiB,EAAE,IAAI;IACvB,kBAAkB,EAAE,CAAC;IACrB,iBAAiB,CAA0B,SAAiB;QAC3D,MAAM,QAAQ,GAAG,IAAI,CAAC,gBAAgB,CAAC,UAAU,EAAE,SAAS,CAAW,CAAC;QACxE,OAAO;YACN,SAAS,EAAE,QAAQ;YACnB,UAAU,EAAE,OAAO;SACnB,CAAC;IACH,CAAC;CACD,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.storiesResource = void 0;
|
|
4
|
+
exports.storiesResource = {
|
|
5
|
+
value: 'stories',
|
|
6
|
+
option: {
|
|
7
|
+
name: 'Stories',
|
|
8
|
+
value: 'stories',
|
|
9
|
+
description: 'Publish a story',
|
|
10
|
+
},
|
|
11
|
+
fields: [],
|
|
12
|
+
pollIntervalMs: 3000,
|
|
13
|
+
maxPollAttempts: 80,
|
|
14
|
+
publishRetryDelay: 3000,
|
|
15
|
+
publishMaxAttempts: 6,
|
|
16
|
+
buildMediaPayload(itemIndex) {
|
|
17
|
+
const videoUrl = this.getNodeParameter('videoUrl', itemIndex);
|
|
18
|
+
return {
|
|
19
|
+
video_url: videoUrl,
|
|
20
|
+
media_type: 'STORIES',
|
|
21
|
+
};
|
|
22
|
+
},
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Instagram/resources/stories/index.ts"],"names":[],"mappings":";;;AAGa,QAAA,eAAe,GAAoB;IAC/C,KAAK,EAAE,SAAS;IAChB,MAAM,EAAE;QACP,IAAI,EAAE,SAAS;QACf,KAAK,EAAE,SAAS;QAChB,WAAW,EAAE,iBAAiB;KAC9B;IACD,MAAM,EAAE,EAAE;IACV,cAAc,EAAE,IAAI;IACpB,eAAe,EAAE,EAAE;IACnB,iBAAiB,EAAE,IAAI;IACvB,kBAAkB,EAAE,CAAC;IACrB,iBAAiB,CAA0B,SAAiB;QAC3D,MAAM,QAAQ,GAAG,IAAI,CAAC,gBAAgB,CAAC,UAAU,EAAE,SAAS,CAAW,CAAC;QACxE,OAAO;YACN,SAAS,EAAE,QAAQ;YACnB,UAAU,EAAE,SAAS;SACrB,CAAC;IACH,CAAC;CACD,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { IDataObject, IExecuteFunctions, INodeProperties, INodePropertyOptions } from 'n8n-workflow';
|
|
2
|
+
export type InstagramResourceType = 'image' | 'reels' | 'stories';
|
|
3
|
+
export interface ResourceHandler {
|
|
4
|
+
value: InstagramResourceType;
|
|
5
|
+
option: INodePropertyOptions;
|
|
6
|
+
fields: INodeProperties[];
|
|
7
|
+
pollIntervalMs: number;
|
|
8
|
+
maxPollAttempts: number;
|
|
9
|
+
publishRetryDelay: number;
|
|
10
|
+
publishMaxAttempts: number;
|
|
11
|
+
buildMediaPayload(this: IExecuteFunctions, itemIndex: number): IDataObject;
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../nodes/Instagram/resources/types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@mookielianhd/n8n-nodes-instagram",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Instagram node for n8n",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"homepage": "",
|
|
7
|
+
"keywords": [
|
|
8
|
+
"n8n-community-node-package"
|
|
9
|
+
],
|
|
10
|
+
"author": {
|
|
11
|
+
"name": "MookieLian",
|
|
12
|
+
"email": "mookielianhd@gmail.com"
|
|
13
|
+
},
|
|
14
|
+
"repository": {
|
|
15
|
+
"type": "git",
|
|
16
|
+
"url": "git+https://github.com/MookieLian/n8n-nodes-instagram.git"
|
|
17
|
+
},
|
|
18
|
+
"scripts": {
|
|
19
|
+
"build": "n8n-node build",
|
|
20
|
+
"build:watch": "tsc --watch",
|
|
21
|
+
"dev": "n8n-node dev",
|
|
22
|
+
"lint": "n8n-node lint",
|
|
23
|
+
"lint:fix": "n8n-node lint --fix",
|
|
24
|
+
"release": "n8n-node release",
|
|
25
|
+
"prepublishOnly": "n8n-node prerelease"
|
|
26
|
+
},
|
|
27
|
+
"files": [
|
|
28
|
+
"dist"
|
|
29
|
+
],
|
|
30
|
+
"n8n": {
|
|
31
|
+
"n8nNodesApiVersion": 1,
|
|
32
|
+
"strict": true,
|
|
33
|
+
"nodes": [
|
|
34
|
+
"dist/nodes/Instagram/Instagram.node.js"
|
|
35
|
+
],
|
|
36
|
+
"credentials": [
|
|
37
|
+
"dist/credentials/InstagramApi.credentials.js"
|
|
38
|
+
]
|
|
39
|
+
},
|
|
40
|
+
"devDependencies": {
|
|
41
|
+
"@n8n/node-cli": "*",
|
|
42
|
+
"@types/estree": "^1.0.8",
|
|
43
|
+
"@types/json-schema": "^7.0.15",
|
|
44
|
+
"eslint": "9.32.0",
|
|
45
|
+
"prettier": "3.6.2",
|
|
46
|
+
"release-it": "^19.0.4",
|
|
47
|
+
"typescript": "5.9.2"
|
|
48
|
+
},
|
|
49
|
+
"peerDependencies": {
|
|
50
|
+
"n8n-workflow": "*"
|
|
51
|
+
}
|
|
52
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"fileNames":["../node_modules/typescript/lib/lib.es5.d.ts","../node_modules/typescript/lib/lib.es2015.d.ts","../node_modules/typescript/lib/lib.es2016.d.ts","../node_modules/typescript/lib/lib.es2017.d.ts","../node_modules/typescript/lib/lib.es2018.d.ts","../node_modules/typescript/lib/lib.es2019.d.ts","../node_modules/typescript/lib/lib.es2020.d.ts","../node_modules/typescript/lib/lib.es2015.core.d.ts","../node_modules/typescript/lib/lib.es2015.collection.d.ts","../node_modules/typescript/lib/lib.es2015.generator.d.ts","../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../node_modules/typescript/lib/lib.es2015.promise.d.ts","../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../node_modules/typescript/lib/lib.es2016.intl.d.ts","../node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../node_modules/typescript/lib/lib.es2017.date.d.ts","../node_modules/typescript/lib/lib.es2017.object.d.ts","../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2017.string.d.ts","../node_modules/typescript/lib/lib.es2017.intl.d.ts","../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../node_modules/typescript/lib/lib.es2018.intl.d.ts","../node_modules/typescript/lib/lib.es2018.promise.d.ts","../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../node_modules/typescript/lib/lib.es2019.array.d.ts","../node_modules/typescript/lib/lib.es2019.object.d.ts","../node_modules/typescript/lib/lib.es2019.string.d.ts","../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../node_modules/typescript/lib/lib.es2019.intl.d.ts","../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../node_modules/typescript/lib/lib.es2020.date.d.ts","../node_modules/typescript/lib/lib.es2020.promise.d.ts","../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2020.string.d.ts","../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2020.intl.d.ts","../node_modules/typescript/lib/lib.es2020.number.d.ts","../node_modules/typescript/lib/lib.es2021.promise.d.ts","../node_modules/typescript/lib/lib.es2022.error.d.ts","../node_modules/typescript/lib/lib.decorators.d.ts","../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../node_modules/form-data/index.d.ts","../node_modules/n8n-workflow/dist/esm/constants.d.ts","../node_modules/n8n-workflow/dist/esm/data-table.types.d.ts","../node_modules/n8n-workflow/dist/esm/deferred-promise.d.ts","../node_modules/@n8n/errors/dist/types.d.ts","../node_modules/@n8n/errors/dist/application.error.d.ts","../node_modules/@n8n/errors/dist/index.d.ts","../node_modules/n8n-workflow/dist/esm/errors/base/base.error.d.ts","../node_modules/n8n-workflow/dist/esm/errors/base/operational.error.d.ts","../node_modules/n8n-workflow/dist/esm/errors/base/unexpected.error.d.ts","../node_modules/n8n-workflow/dist/esm/errors/base/user.error.d.ts","../node_modules/n8n-workflow/dist/esm/errors/abstract/execution-base.error.d.ts","../node_modules/n8n-workflow/dist/esm/errors/expression.error.d.ts","../node_modules/n8n-workflow/dist/esm/errors/execution-cancelled.error.d.ts","../node_modules/n8n-workflow/dist/esm/errors/abstract/node.error.d.ts","../node_modules/n8n-workflow/dist/esm/errors/node-api.error.d.ts","../node_modules/n8n-workflow/dist/esm/errors/node-operation.error.d.ts","../node_modules/n8n-workflow/dist/esm/errors/workflow-configuration.error.d.ts","../node_modules/n8n-workflow/dist/esm/errors/node-ssl.error.d.ts","../node_modules/n8n-workflow/dist/esm/errors/workflow-activation.error.d.ts","../node_modules/n8n-workflow/dist/esm/errors/webhook-taken.error.d.ts","../node_modules/n8n-workflow/dist/esm/errors/workflow-deactivation.error.d.ts","../node_modules/n8n-workflow/dist/esm/errors/workflow-operation.error.d.ts","../node_modules/n8n-workflow/dist/esm/errors/subworkflow-operation.error.d.ts","../node_modules/n8n-workflow/dist/esm/errors/cli-subworkflow-operation.error.d.ts","../node_modules/n8n-workflow/dist/esm/errors/trigger-close.error.d.ts","../node_modules/n8n-workflow/dist/esm/errors/expression-extension.error.d.ts","../node_modules/n8n-workflow/dist/esm/errors/db-connection-timeout-error.d.ts","../node_modules/n8n-workflow/dist/esm/errors/ensure-error.d.ts","../node_modules/n8n-workflow/dist/esm/errors/index.d.ts","../node_modules/zod/dist/types/v4/core/standard-schema.d.ts","../node_modules/zod/dist/types/v4/core/util.d.ts","../node_modules/zod/dist/types/v4/core/versions.d.ts","../node_modules/zod/dist/types/v4/core/schemas.d.ts","../node_modules/zod/dist/types/v4/core/checks.d.ts","../node_modules/zod/dist/types/v4/core/errors.d.ts","../node_modules/zod/dist/types/v4/core/core.d.ts","../node_modules/zod/dist/types/v4/core/parse.d.ts","../node_modules/zod/dist/types/v4/core/regexes.d.ts","../node_modules/zod/dist/types/v4/locales/ar.d.ts","../node_modules/zod/dist/types/v4/locales/az.d.ts","../node_modules/zod/dist/types/v4/locales/be.d.ts","../node_modules/zod/dist/types/v4/locales/ca.d.ts","../node_modules/zod/dist/types/v4/locales/cs.d.ts","../node_modules/zod/dist/types/v4/locales/de.d.ts","../node_modules/zod/dist/types/v4/locales/en.d.ts","../node_modules/zod/dist/types/v4/locales/es.d.ts","../node_modules/zod/dist/types/v4/locales/fa.d.ts","../node_modules/zod/dist/types/v4/locales/fi.d.ts","../node_modules/zod/dist/types/v4/locales/fr.d.ts","../node_modules/zod/dist/types/v4/locales/fr-ca.d.ts","../node_modules/zod/dist/types/v4/locales/he.d.ts","../node_modules/zod/dist/types/v4/locales/hu.d.ts","../node_modules/zod/dist/types/v4/locales/id.d.ts","../node_modules/zod/dist/types/v4/locales/it.d.ts","../node_modules/zod/dist/types/v4/locales/ja.d.ts","../node_modules/zod/dist/types/v4/locales/kh.d.ts","../node_modules/zod/dist/types/v4/locales/ko.d.ts","../node_modules/zod/dist/types/v4/locales/mk.d.ts","../node_modules/zod/dist/types/v4/locales/ms.d.ts","../node_modules/zod/dist/types/v4/locales/nl.d.ts","../node_modules/zod/dist/types/v4/locales/no.d.ts","../node_modules/zod/dist/types/v4/locales/ota.d.ts","../node_modules/zod/dist/types/v4/locales/ps.d.ts","../node_modules/zod/dist/types/v4/locales/pl.d.ts","../node_modules/zod/dist/types/v4/locales/pt.d.ts","../node_modules/zod/dist/types/v4/locales/ru.d.ts","../node_modules/zod/dist/types/v4/locales/sl.d.ts","../node_modules/zod/dist/types/v4/locales/sv.d.ts","../node_modules/zod/dist/types/v4/locales/ta.d.ts","../node_modules/zod/dist/types/v4/locales/th.d.ts","../node_modules/zod/dist/types/v4/locales/tr.d.ts","../node_modules/zod/dist/types/v4/locales/ua.d.ts","../node_modules/zod/dist/types/v4/locales/ur.d.ts","../node_modules/zod/dist/types/v4/locales/vi.d.ts","../node_modules/zod/dist/types/v4/locales/zh-cn.d.ts","../node_modules/zod/dist/types/v4/locales/zh-tw.d.ts","../node_modules/zod/dist/types/v4/locales/index.d.ts","../node_modules/zod/dist/types/v4/core/registries.d.ts","../node_modules/zod/dist/types/v4/core/doc.d.ts","../node_modules/zod/dist/types/v4/core/function.d.ts","../node_modules/zod/dist/types/v4/core/api.d.ts","../node_modules/zod/dist/types/v4/core/json-schema.d.ts","../node_modules/zod/dist/types/v4/core/to-json-schema.d.ts","../node_modules/zod/dist/types/v4/core/index.d.ts","../node_modules/zod/v4/core/index.d.ts","../node_modules/zod/dist/types/v4/classic/errors.d.ts","../node_modules/zod/dist/types/v4/classic/parse.d.ts","../node_modules/zod/dist/types/v4/classic/schemas.d.ts","../node_modules/zod/dist/types/v4/classic/checks.d.ts","../node_modules/zod/dist/types/v4/classic/compat.d.ts","../node_modules/zod/dist/types/v4/classic/iso.d.ts","../node_modules/zod/dist/types/v4/classic/coerce.d.ts","../node_modules/zod/dist/types/v4/classic/external.d.ts","../node_modules/zod/dist/types/v4/classic/index.d.ts","../node_modules/zod/dist/types/v4/index.d.ts","../node_modules/zod/v4/index.d.ts","../node_modules/n8n-workflow/dist/esm/execution-context.d.ts","../node_modules/n8n-workflow/dist/esm/execution-status.d.ts","../node_modules/n8n-workflow/dist/esm/result.d.ts","../node_modules/n8n-workflow/dist/esm/expression.d.ts","../node_modules/n8n-workflow/dist/esm/workflow.d.ts","../node_modules/n8n-workflow/dist/esm/workflow-data-proxy-env-provider.d.ts","../node_modules/n8n-workflow/dist/esm/interfaces.d.ts","../node_modules/n8n-workflow/dist/esm/logger-proxy.d.ts","../node_modules/n8n-workflow/dist/esm/node-helpers.d.ts","../node_modules/n8n-workflow/dist/esm/observable-object.d.ts","../node_modules/n8n-workflow/dist/esm/telemetry-helpers.d.ts","../node_modules/n8n-workflow/dist/esm/common/get-child-nodes.d.ts","../node_modules/n8n-workflow/dist/esm/common/get-connected-nodes.d.ts","../node_modules/n8n-workflow/dist/esm/common/get-node-by-name.d.ts","../node_modules/n8n-workflow/dist/esm/common/get-parent-nodes.d.ts","../node_modules/n8n-workflow/dist/esm/common/map-connections-by-destination.d.ts","../node_modules/n8n-workflow/dist/esm/common/index.d.ts","../node_modules/n8n-workflow/dist/esm/cron.d.ts","../node_modules/n8n-workflow/dist/esm/global-state.d.ts","../node_modules/n8n-workflow/dist/esm/run-execution-data-factory.d.ts","../node_modules/n8n-workflow/dist/esm/message-event-bus.d.ts","../node_modules/n8n-workflow/dist/esm/expressions/expression-helpers.d.ts","../node_modules/zod/dist/types/v3/helpers/typealiases.d.ts","../node_modules/zod/dist/types/v3/helpers/util.d.ts","../node_modules/zod/dist/types/v3/zoderror.d.ts","../node_modules/zod/dist/types/v3/locales/en.d.ts","../node_modules/zod/dist/types/v3/errors.d.ts","../node_modules/zod/dist/types/v3/helpers/parseutil.d.ts","../node_modules/zod/dist/types/v3/helpers/enumutil.d.ts","../node_modules/zod/dist/types/v3/helpers/errorutil.d.ts","../node_modules/zod/dist/types/v3/helpers/partialutil.d.ts","../node_modules/zod/dist/types/v3/standard-schema.d.ts","../node_modules/zod/dist/types/v3/types.d.ts","../node_modules/zod/dist/types/v3/external.d.ts","../node_modules/zod/dist/types/v3/index.d.ts","../node_modules/zod/dist/types/index.d.ts","../node_modules/n8n-workflow/dist/esm/from-ai-parse-utils.d.ts","../node_modules/n8n-workflow/dist/esm/tool-helpers.d.ts","../node_modules/n8n-workflow/dist/esm/node-reference-parser-utils.d.ts","../node_modules/n8n-workflow/dist/esm/metadata-utils.d.ts","../node_modules/n8n-workflow/dist/esm/workflow-data-proxy.d.ts","../node_modules/n8n-workflow/dist/esm/versioned-node-type.d.ts","../node_modules/n8n-workflow/dist/esm/type-validation.d.ts","../node_modules/n8n-workflow/dist/esm/schemas.d.ts","../node_modules/n8n-workflow/dist/esm/utils.d.ts","../node_modules/n8n-workflow/dist/esm/type-guards.d.ts","../node_modules/n8n-workflow/dist/esm/graph/graph-utils.d.ts","../node_modules/n8n-workflow/dist/esm/extensions/extensions.d.ts","../node_modules/n8n-workflow/dist/esm/extensions/expression-extension.d.ts","../node_modules/n8n-workflow/dist/esm/extensions/index.d.ts","../node_modules/n8n-workflow/dist/esm/extensions/expression-parser.d.ts","../node_modules/n8n-workflow/dist/esm/native-methods/index.d.ts","../node_modules/n8n-workflow/dist/esm/node-parameters/filter-parameter.d.ts","../node_modules/n8n-workflow/dist/esm/node-parameters/parameter-type-validation.d.ts","../node_modules/n8n-workflow/dist/esm/node-parameters/path-utils.d.ts","../node_modules/n8n-workflow/dist/esm/evaluation-helpers.d.ts","../node_modules/n8n-workflow/dist/esm/workflow-diff.d.ts","../node_modules/n8n-workflow/dist/esm/index.d.ts","../credentials/instagramapi.credentials.ts","../nodes/instagram/resources/types.ts","../nodes/instagram/resources/image/index.ts","../nodes/instagram/resources/reels/index.ts","../nodes/instagram/resources/stories/index.ts","../nodes/instagram/resources/index.ts","../nodes/instagram/instagram.node.ts","../nodes/instagram/instagram.node.json","../package.json"],"fileIdsList":[[202],[52],[52,53],[151],[156,157,158,159,160],[54,151],[59,151],[54],[55],[71],[59],[60],[54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76],[54,62,151],[62,63,151],[70],[67],[54,59,151],[64],[144],[149,151],[192],[192,193],[180],[49,50,51,77,145,146,147,148,149,150,151,152,153,154,155,161,162,163,164,165,166,181,182,183,184,185,186,187,188,189,190,191,194,195,196,197,198,199,200,201],[48,49,50,51,60,63,64,67,70,77,145,146,147,149,150],[151,180],[149,150,151],[148,151],[179],[169,170],[167,168,169,171,172,177],[168,169],[177],[178],[169],[167,168,169,172,173,174,175,176],[167,168,179],[133],[133,136],[125,133,134,135,136,137,138,139,140],[141],[133,134],[133,135],[79,81,82,83,84],[79,81,83,84],[79,81,83],[79,81,82,84],[79,81,84],[79,80,81,82,83,84,85,86,125,126,127,128,129,130,131],[81,84],[78,79,80,82,83,84],[81,126,130],[81,82,83,84],[142],[83],[87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124],[132],[143],[202,204,208],[202,204],[202,204,205,206,207]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"736097ddbb2903bef918bb3b5811ef1c9c5656f2a73bd39b22a91b9cc2525e50","impliedFormat":1},{"version":"64389db4545608415fef182c0f26019165d28e4e40220d5a8ee33fb2b2be812d","impliedFormat":1},{"version":"a588d1f897adf938963ef3d90c8038c3c5cd19ef88fbedda4cb1a77b8b7ba3e6","impliedFormat":1},{"version":"a0981ee0c7ac06bdb575558bd09bac190e1c0c7888ddcb63d8bf648f23a30e8c","impliedFormat":1},{"version":"00f11c3ec667314eaa2adfe253b5ebebbbdbb82510e04460c2f09d1c3b521d31","impliedFormat":1},{"version":"5c7a516e25a2fd1dc5e054c6161fe3c8ba46364f3784ef98f3fca48ab685231c","impliedFormat":1},{"version":"3ff739b7f819cfc12b330f9adcc4c3abbbd5e9f9ca68f53243222a049a8361a2","impliedFormat":1},{"version":"d762b92c1af47b7b3c4eef92fe9a3806194d9edc5dae6901342fc87ef21d7f4a","impliedFormat":1},{"version":"41d14b690d8d8c2a9b7395e8c36de6ca981010736723216ab9f35eb598e09ad9","impliedFormat":1},{"version":"3fdcca6b893ffd38b61b792772f649c82ae28077c360802cec25360eabca24c0","impliedFormat":1},{"version":"299924f7545be254b02278e4dcff7038611f2325d30f0e5ae4bcac906847c164","impliedFormat":1},{"version":"be1d650f04c9f472f0ad0ead3e1b7059dd1e0ff918f7bcb707786d27c3bbeadd","impliedFormat":1},{"version":"1e16c1b1c4d8600a146b15a933f9a880cc275c01f39dc436625f22d3cca46272","impliedFormat":1},{"version":"a631639d7f79f49f68a0ef6553baa1b977e06b230e768511812952709fe5c1f0","impliedFormat":1},{"version":"bf2aefef15e0b4d6bc8f4e19f967494b59b5f90a834de503c373df042513d924","impliedFormat":1},{"version":"4085248a1c89ee865cf9498402c90611d16920a6c9929f701ddc0b963ddad230","impliedFormat":1},{"version":"1a1acd3311ff1794be8401ee394efc3beeb1746068244eb0ee1d51d08e457401","impliedFormat":1},{"version":"ce0b4440a3dd75e14ca94b6d6b27fa26ca89e776d91b8803b3c86c4e8f06ed1a","impliedFormat":1},{"version":"37020cf15e16fa6e1c6e2485cd51d6cbe74adee3b860ab49fb7528ca7e8e518e","impliedFormat":1},{"version":"b6b1a3ff9ba1ddf1a908cfd1bcd471334ecd218a366460fc64c4561d6d0467a4","impliedFormat":1},{"version":"1950d2a49c05c7aa6decfe409b552c4ea5fb156894cf0541b34999819bd778ea","impliedFormat":1},{"version":"32fe829960ff7120843f6dd20197e863aee3e81ecded415641a7500654d1bda7","impliedFormat":1},{"version":"da73778888d41d0abe7d28a24529ba13ff0a9311d55e1902feee7ab97dc6a67d","impliedFormat":1},{"version":"393b1ed0dca4f0aac333e65f2e40dfedfa8b37ac60571e02b152d32d8c84d340","impliedFormat":1},{"version":"f46d50c283425bcc59d68ccf067b3672fb727f802652dc7d60d2e470fb956370","impliedFormat":1},{"version":"0e10fd1d283b4ba7b94f5abb1bc30a2070ccb16c22f86a2780bea8ddc48f3bf7","impliedFormat":1},{"version":"0b4b6ca509cdb152e18ceeed526d17bb416e7e518508d859a0174977195f9a35","impliedFormat":1},{"version":"79b9e661f99d6d01ad0031fbffbb20a8570ca526125a1b01ef5643c00348a8c4","impliedFormat":1},{"version":"deb85dff5a350bd77f24fb5665b7a3c95aa0d4556a0d45ab423ebf3ffcbc70ce","impliedFormat":1},{"version":"f3e1a9f8c28c949f8432b0ef8f0d2686ccc3e38dcc338bbc8a02f956bc7a0725","impliedFormat":1},{"version":"309ebd217636d68cf8784cbc3272c16fb94fb8e969e18b6fe88c35200340aef1","impliedFormat":1},{"version":"6e4fde24e4d82d79eaff2daa7f5dffa79ba53de2a6b8aef76c178a5a370764bb","impliedFormat":1},{"version":"ef9b6279acc69002a779d0172916ef22e8be5de2d2469ff2f4bb019a21e89de2","impliedFormat":1},{"version":"12b8d97a20b0fb267b69c4a6be0dfad7c88851d2dcab6150aa4218f40efa45f4","affectsGlobalScope":true,"impliedFormat":1},{"version":"0e86102dbab93227b2702cba0ba06cb638961394577dc28cd5b856f0184c3156","impliedFormat":1},{"version":"6c859096094c744d2dd7b733189293a5b2af535e15f7794e69a3b4288b70dcfc","impliedFormat":1},{"version":"915d51e1bcd9b06ab8c922360b3f74ffe70c2ab6264f759f2b3e5f4130df0149","impliedFormat":1},{"version":"716a022c6d311c8367d830d2839fe017699564de2d0f5446b4a6f3f022a5c0c6","impliedFormat":1},{"version":"c939cb12cb000b4ec9c3eca3fe7dee1fe373ccb801237631d9252bad10206d61","impliedFormat":1},{"version":"7ceb8bc679a90951354f89379bc37228e7cf87b753069cd7b62310d5cbbe1f11","impliedFormat":1},{"version":"7ceb8bc679a90951354f89379bc37228e7cf87b753069cd7b62310d5cbbe1f11","impliedFormat":1},{"version":"7ceb8bc679a90951354f89379bc37228e7cf87b753069cd7b62310d5cbbe1f11","impliedFormat":1},{"version":"7ceb8bc679a90951354f89379bc37228e7cf87b753069cd7b62310d5cbbe1f11","impliedFormat":1},{"version":"7ceb8bc679a90951354f89379bc37228e7cf87b753069cd7b62310d5cbbe1f11","impliedFormat":1},{"version":"7ceb8bc679a90951354f89379bc37228e7cf87b753069cd7b62310d5cbbe1f11","impliedFormat":1},{"version":"3b25e966fd93475d8ca2834194ea78321d741a21ca9d1f606b25ec99c1bbc29a","impliedFormat":1},{"version":"7ceb8bc679a90951354f89379bc37228e7cf87b753069cd7b62310d5cbbe1f11","impliedFormat":1},{"version":"7ceb8bc679a90951354f89379bc37228e7cf87b753069cd7b62310d5cbbe1f11","impliedFormat":1},{"version":"7ceb8bc679a90951354f89379bc37228e7cf87b753069cd7b62310d5cbbe1f11","impliedFormat":1},{"version":"7ceb8bc679a90951354f89379bc37228e7cf87b753069cd7b62310d5cbbe1f11","impliedFormat":1},{"version":"7ceb8bc679a90951354f89379bc37228e7cf87b753069cd7b62310d5cbbe1f11","impliedFormat":1},{"version":"7ceb8bc679a90951354f89379bc37228e7cf87b753069cd7b62310d5cbbe1f11","impliedFormat":1},{"version":"7ceb8bc679a90951354f89379bc37228e7cf87b753069cd7b62310d5cbbe1f11","impliedFormat":1},{"version":"7ceb8bc679a90951354f89379bc37228e7cf87b753069cd7b62310d5cbbe1f11","impliedFormat":1},{"version":"7ceb8bc679a90951354f89379bc37228e7cf87b753069cd7b62310d5cbbe1f11","impliedFormat":1},{"version":"7ceb8bc679a90951354f89379bc37228e7cf87b753069cd7b62310d5cbbe1f11","impliedFormat":1},{"version":"7ceb8bc679a90951354f89379bc37228e7cf87b753069cd7b62310d5cbbe1f11","impliedFormat":1},{"version":"7ceb8bc679a90951354f89379bc37228e7cf87b753069cd7b62310d5cbbe1f11","impliedFormat":1},{"version":"7ceb8bc679a90951354f89379bc37228e7cf87b753069cd7b62310d5cbbe1f11","impliedFormat":1},{"version":"7ceb8bc679a90951354f89379bc37228e7cf87b753069cd7b62310d5cbbe1f11","impliedFormat":1},{"version":"7ceb8bc679a90951354f89379bc37228e7cf87b753069cd7b62310d5cbbe1f11","impliedFormat":1},{"version":"7ceb8bc679a90951354f89379bc37228e7cf87b753069cd7b62310d5cbbe1f11","impliedFormat":1},{"version":"7ceb8bc679a90951354f89379bc37228e7cf87b753069cd7b62310d5cbbe1f11","impliedFormat":1},{"version":"7ceb8bc679a90951354f89379bc37228e7cf87b753069cd7b62310d5cbbe1f11","impliedFormat":1},{"version":"7ceb8bc679a90951354f89379bc37228e7cf87b753069cd7b62310d5cbbe1f11","impliedFormat":1},{"version":"7ceb8bc679a90951354f89379bc37228e7cf87b753069cd7b62310d5cbbe1f11","impliedFormat":1},{"version":"7ceb8bc679a90951354f89379bc37228e7cf87b753069cd7b62310d5cbbe1f11","impliedFormat":1},{"version":"7ceb8bc679a90951354f89379bc37228e7cf87b753069cd7b62310d5cbbe1f11","impliedFormat":1},{"version":"7ceb8bc679a90951354f89379bc37228e7cf87b753069cd7b62310d5cbbe1f11","impliedFormat":1},{"version":"7ceb8bc679a90951354f89379bc37228e7cf87b753069cd7b62310d5cbbe1f11","impliedFormat":1},{"version":"7ceb8bc679a90951354f89379bc37228e7cf87b753069cd7b62310d5cbbe1f11","impliedFormat":1},{"version":"3b25e966fd93475d8ca2834194ea78321d741a21ca9d1f606b25ec99c1bbc29a","impliedFormat":1},{"version":"7ceb8bc679a90951354f89379bc37228e7cf87b753069cd7b62310d5cbbe1f11","impliedFormat":1},{"version":"7ceb8bc679a90951354f89379bc37228e7cf87b753069cd7b62310d5cbbe1f11","impliedFormat":1},{"version":"7ceb8bc679a90951354f89379bc37228e7cf87b753069cd7b62310d5cbbe1f11","impliedFormat":1},{"version":"7ceb8bc679a90951354f89379bc37228e7cf87b753069cd7b62310d5cbbe1f11","impliedFormat":1},{"version":"7ceb8bc679a90951354f89379bc37228e7cf87b753069cd7b62310d5cbbe1f11","impliedFormat":1},{"version":"92d777bf731e4062397081e864fbc384054934ab64af7723dfbf1df21824db31","impliedFormat":1},{"version":"ee415a173162328db8ab33496db05790b7d6b4a48272ff4a6c35cf9540ac3a60","impliedFormat":1},{"version":"80e653fbbec818eecfe95d182dc65a1d107b343d970159a71922ac4491caa0af","impliedFormat":1},{"version":"f978b1b63ad690ff2a8f16d6f784acaa0ba0f4bcfc64211d79a2704de34f5913","impliedFormat":1},{"version":"00c7c66bbd6675c5bc24b58bac2f9cbdeb9f619b295813cabf780c08034cfaba","impliedFormat":1},{"version":"9078205849121a5d37a642949d687565498da922508eacb0e5a0c3de427f0ae5","impliedFormat":1},{"version":"0ce71e5ee7c489209494c14028e351ccb1ffe455187d98a889f8e07ae2458ef7","impliedFormat":1},{"version":"f5c8f2ef9603893e25ed86c7112cd2cc60d53e5387b9146c904bce3e707c55de","impliedFormat":1},{"version":"db3ea1212b188ff23aa4f32b63e459c9b55d34b44b57bcbdf401f291352483f0","impliedFormat":99},{"version":"dc01facbb7d88bc5e2eabb7c6eee80a0241538d50a5c3b210fb745683faa1dab","impliedFormat":1},{"version":"5c5197a46686814821229b28e4cfd601ef0a32f2d2d29b9a99050bac0ab03c99","impliedFormat":1},{"version":"2f3a88381874ec5fd76116a07b4ec3ed2eb667d00cff57f4f21e58cc0e970ca8","impliedFormat":1},{"version":"2c6c3af3957e38e6a5190258a666a06893ba5a11e3501585243129afecefd037","impliedFormat":1},{"version":"13e5ea921d6f62171aab19f33a6690e3c6658eecd2e5672425e49ac30d4305e6","impliedFormat":1},{"version":"1e28020a23b28743d5bd708b9e4c7b75fdff606aa080fbaf5b8db3600d5c99cf","impliedFormat":1},{"version":"49e7f03e7e7288397725e823654fdfe61892bb5082f391057e61b9c4f1b54f16","impliedFormat":1},{"version":"7b368e9be7bfea145983add6818f4e9ad5d83e5cabc8f771211d77c0feb8db94","impliedFormat":1},{"version":"d49030b9a324bab9bcf9f663a70298391b0f5a25328409174d86617512bf3037","impliedFormat":1},{"version":"a4b634bb8c97cc700dbf165f3bb0095ec669042da72eaf28a7c5e2ddd98169ce","impliedFormat":1},{"version":"a7578eb8461c2d07440749f89aba22881d5fca09a1d1cd46974628869fbadfa1","impliedFormat":99},{"version":"2d5cda2e70a39014fcd9143039f5d9b28f4cc821dc03b916a9468bfd4b39279b","impliedFormat":1},{"version":"3226c2a2af36d14aa551babd4154ad18042c0deb1509a61058c6b066cfddc30a","impliedFormat":1},{"version":"64c9811ebae7d6bdd3749155911ca473017944d6e9787cec3d11549b05b19de9","impliedFormat":1},{"version":"65f5d56e387495e8421e550d73ddb2132e82060d83b2907238629f4fe453214a","impliedFormat":1},{"version":"18c4c5d4069ae6ddce9443a6057fcf333688556b0d644813a78e604812f82bb3","impliedFormat":1},{"version":"6481b29f54e19becbeb7236c60043e2daa47b45cb4fd7e88f287df09250f2405","impliedFormat":1},{"version":"a6b9a701e0f8814ddd4f63ba7a053af400e3b660a22b51214a95cde6c0485502","impliedFormat":1},{"version":"01658146c02cba2e49ee7beaa0b90864e7a17c3d02cc39cd8b643b5be3a1a438","impliedFormat":1},{"version":"fcbfe8a05b4b1d990aaf289b951ca3fb16bd5aa18004f576283576069be59939","impliedFormat":1},{"version":"db18ec88a0f1512b153a28a0ed1e19f34530885bca1d00e5f17a6e9b3184697f","impliedFormat":1},{"version":"21f166065c0725ca16281aa2f05f5ee9fb556795c8426049bf44ee36bdca9afd","impliedFormat":1},{"version":"36cd04c9f4116122a3545fcc6da5e522861d739718ab3a3cb7ff2268612531aa","impliedFormat":1},{"version":"9ae86dde42766df895cde73c60dc13347cc30829c6696de3cc54036b3120a5ba","impliedFormat":1},{"version":"6823cce79c10482d0860d40ebbfc29f00ddf7f99bca0aa23330599ddd8baead4","impliedFormat":1},{"version":"30ed6587fb249cc1b0585bab7ce2ca81ef193bfe2934241b6f06ffefdaaf4bf9","impliedFormat":1},{"version":"aa18fcf8ad877a9eb0c357c247708f019e25c4d906e3025d73604b66de8d7f11","impliedFormat":1},{"version":"cfc5482e113e44dae9712ae0a4e412788622221ae5eb1327fb69a13a0f5af662","impliedFormat":1},{"version":"5e620d0ed3eeb9a9a767355547123c85aea7e8f26d90e94d0cc3fa457f1c2035","impliedFormat":1},{"version":"304b0d21771513c0a36ed7179a9d1069bfa776e95f50b789ce898f3ef2b71514","impliedFormat":1},{"version":"d3e044f57a2e3cf83f812f43b6c992c240f7f84ca1edf55189a20dbcd42d512f","impliedFormat":1},{"version":"890e7c66817a492bf44c807ba0b602f712d62fb5b6970316c2273aa03f19fc5e","impliedFormat":1},{"version":"18c078c2b34901a328c1fc3e5a2f5bd51aa0fef06a548418198955e0af5eaf39","impliedFormat":1},{"version":"d3cfde44f8089768ebb08098c96d01ca260b88bccf238d55eee93f1c620ff5a5","impliedFormat":1},{"version":"293eadad9dead44c6fd1db6de552663c33f215c55a1bfa2802a1bceed88ff0ec","impliedFormat":1},{"version":"54f6ec6ea75acea6eb23635617252d249145edbc7bcd9d53f2d70280d2aef953","impliedFormat":1},{"version":"c25ce98cca43a3bfa885862044be0d59557be4ecd06989b2001a83dcf69620fd","impliedFormat":1},{"version":"8e71e53b02c152a38af6aec45e288cc65bede077b92b9b43b3cb54a37978bb33","impliedFormat":1},{"version":"754a9396b14ca3a4241591afb4edc644b293ccc8a3397f49be4dfd520c08acb3","impliedFormat":1},{"version":"f672c876c1a04a223cf2023b3d91e8a52bb1544c576b81bf64a8fec82be9969c","impliedFormat":1},{"version":"e4b03ddcf8563b1c0aee782a185286ed85a255ce8a30df8453aade2188bbc904","impliedFormat":1},{"version":"de2316e90fc6d379d83002f04ad9698bc1e5285b4d52779778f454dd12ce9f44","impliedFormat":1},{"version":"25b3f581e12ede11e5739f57a86e8668fbc0124f6649506def306cad2c59d262","impliedFormat":1},{"version":"2da997a01a6aa5c5c09de5d28f0f4407b597c5e1aecfd32f1815809c532650a2","impliedFormat":1},{"version":"5d26d2e47e2352def36f89a3e8bf8581da22b7f857e07ef3114cd52cf4813445","impliedFormat":1},{"version":"3db2efd285e7328d8014b54a7fce3f4861ebcdc655df40517092ed0050983617","impliedFormat":1},{"version":"d5d39a24c759df40480a4bfc0daffd364489702fdbcbdfc1711cde34f8739995","impliedFormat":1},{"version":"581b97f369056070fafbe168120a192e918e67763116dfbbb2782bbca5f32111","impliedFormat":1},{"version":"74f9797560463a8c9070dd72c04b38cc17b79759b841e2a4175a11742f2ecd11","impliedFormat":1},{"version":"ce22b96ece23ecc9bc1f2a445afefa0a487f299986a1584887e4e4217e196963","impliedFormat":1},{"version":"4788f58342a67af140858e23a24cdf62457ec1ff79af68ac71b9d3c0c89bb53b","impliedFormat":1},{"version":"be19e5bce1b45d5c0ef87d46c3a95a991a3cd8b6c7cb4d756791756e69cc3568","impliedFormat":1},{"version":"e9634e0306920990ddca8f667e3cb624597ea7a4cd25d557a599c0e175419879","impliedFormat":1},{"version":"d4866c666180e89bdc142940cb2986a8fa9f3d2a363cc757bb61cef698b6e976","impliedFormat":1},{"version":"fa6dd44a52cb2af89ad7d192ea0ca838ed197cd5dadccb4265085ca6e9fe33cf","impliedFormat":1},{"version":"e73799489c16d7281d0466925ba620e9f804bb78400e0dbe04997b98407b1ab5","impliedFormat":1},{"version":"cb279466d8f2d95f3ee0a24637506b18d18d9b1cb869b4dbb534b7597b06daec","impliedFormat":1},{"version":"b33057a3c7ea75948a207a5b784726118ec60f882eeb875bd64e932b4cd41041","impliedFormat":1},{"version":"b773bcdaeda86c0f58910cecd6c77a0bd60be763127c42cad5a64fe66799b1f6","impliedFormat":1},{"version":"9e2e0b4711f1efef5c3c488616334ba2e5b911648a8784fd77fc8beb1e5047c9","impliedFormat":1},{"version":"ca1c4f7d0c786d90ab15a363d59d0e18269b393191ed7b2841547c0e187a8d35","impliedFormat":1},{"version":"0494f89b64c5e8906ce5284194e09bad42b56837757d79cb9e62ce16aae88ab4","impliedFormat":1},{"version":"28f1497962f8853339b46d766384abe7a907900998f551cf43cd793cdcb98e3d","impliedFormat":1},{"version":"e4cce0b510957aab4b12a0dc21a3b4857b8f8a85bbded2b8b81f836ca3c83dbc","impliedFormat":1},{"version":"79a0953f85a27dcaab70dd0e3791a3564631dfd5d85c637513027747c6844357","impliedFormat":1},{"version":"678c7436b7aa03dad934a96850ea395c018637013aa0b52a65898f502b4d6e2a","impliedFormat":1},{"version":"1c18a09d1deaf0e9906100ab54592f256f87fc94c67cce61bfc1c2ea44ac3d13","impliedFormat":1},{"version":"7f2b652a22886e16e6d0c37ffac3b69031299f4c53cba41c1f71fd9899a5d209","impliedFormat":1},{"version":"ecd74f4219b724fa8fb06d5689a7a2f659deba4f6439875defec139c5fdb3864","impliedFormat":1},{"version":"7fc8611ccea296fd5d82c905fd7dd560fc51e537a469c335693f85b792b36b35","signature":"0b9906755c02f60cba53eecc22323dfa5ba8525883778e4ce4fe6940d3082d82"},{"version":"cf3545e8670142d9072c33a186a830bf487f0b252c1fcf6fb966b80380b26e8a","signature":"e7218e9f6e8f961f147e82509d7c4c46677cb7c04813d20336120507176fb3ad"},{"version":"b16218a146364678092094c02f6021ebc410bdf3f9ac97df9f6b8956a7e21c1e","signature":"23b0b512514e937a292e09de6d99b65cd95dfbb727304dd7962ead536145c408"},{"version":"37da69d4b9f02b7cc503b3861aa5c2022858b7ef37796e04451c8895208af208","signature":"bdbf0aa0f8e069db466f4cef8fcfbcd88210927243a5377e8a87da5ad62065ba"},{"version":"d185126472318989ee9485e096fb395ac796a85b8d5605367b5f40fc06a4c37b","signature":"a0e360276842fa582bf458d7db6dcfec8c82af7d79c2a6a67f0ea85985799dcd"},{"version":"90026f8b4dccf93ccad3ea4d1a950e4df5575a09f4e8be857811299dc93607b3","signature":"000d362d8b7611d83e5c9cf745fecda3bb741083a87820590b8de5d7b16db648"},{"version":"fab1c1663493dcfa2ffc0ca54175a0277519bd686bc9e5b8a8984948aba6d249","signature":"a6a884455c84e5afff0d41c09ab3fe1610843bd562b2d86b49f5b9e2e342643b"},"eb84844f92d4d581c4a1c3b1e050c5112202b99ab73e3cd103d6ccfc6031ccd8","bca789f0c466a84d910e18262436a4758a7349aee73c38552aa9f2634fa71fd6"],"root":[[203,211]],"options":{"declaration":true,"esModuleInterop":true,"module":1,"noImplicitAny":true,"noImplicitReturns":true,"noUnusedLocals":true,"outDir":"./","preserveConstEnums":true,"removeComments":true,"skipLibCheck":true,"sourceMap":true,"strict":true,"strictNullChecks":true,"target":6,"useUnknownInCatchVariables":false},"referencedMap":[[203,1],[53,2],[54,3],[156,4],[157,4],[158,4],[159,4],[161,5],[160,4],[162,4],[59,6],[62,7],[55,8],[56,9],[57,9],[58,9],[72,10],[75,8],[61,11],[74,12],[60,11],[77,13],[63,14],[64,15],[66,11],[71,16],[73,6],[68,17],[67,18],[65,19],[69,17],[70,7],[145,20],[148,21],[193,22],[194,23],[181,24],[191,4],[202,25],[151,26],[152,4],[165,4],[184,1],[196,22],[153,21],[197,6],[198,4],[183,4],[154,4],[164,4],[188,27],[155,4],[182,4],[190,4],[187,4],[189,4],[186,4],[185,28],[201,1],[149,29],[180,30],[171,31],[178,32],[172,33],[175,34],[179,35],[170,36],[177,37],[169,38],[137,39],[140,40],[138,40],[134,39],[141,41],[142,42],[139,40],[135,43],[136,44],[129,45],[82,46],[84,47],[83,48],[128,49],[132,50],[85,46],[126,51],[81,52],[131,53],[79,54],[143,55],[87,56],[88,56],[89,56],[90,56],[91,56],[92,56],[93,56],[94,56],[95,56],[96,56],[98,56],[97,56],[99,56],[100,56],[101,56],[125,57],[102,56],[103,56],[104,56],[105,56],[106,56],[107,56],[108,56],[109,56],[110,56],[112,56],[111,56],[113,56],[114,56],[115,56],[116,56],[117,56],[118,56],[119,56],[120,56],[121,56],[122,56],[123,56],[124,56],[133,58],[144,59],[209,60],[205,61],[208,62],[206,61],[207,61],[204,1]],"version":"5.9.2"}
|
package/package.json
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@mookielianhd/n8n-nodes-instagram",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Instagram node for n8n",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"homepage": "",
|
|
7
|
+
"keywords": [
|
|
8
|
+
"n8n-community-node-package"
|
|
9
|
+
],
|
|
10
|
+
"author": {
|
|
11
|
+
"name": "MookieLian",
|
|
12
|
+
"email": "mookielianhd@gmail.com"
|
|
13
|
+
},
|
|
14
|
+
"repository": {
|
|
15
|
+
"type": "git",
|
|
16
|
+
"url": "git+https://github.com/MookieLian/n8n-nodes-instagram.git"
|
|
17
|
+
},
|
|
18
|
+
"scripts": {
|
|
19
|
+
"build": "n8n-node build",
|
|
20
|
+
"build:watch": "tsc --watch",
|
|
21
|
+
"dev": "n8n-node dev",
|
|
22
|
+
"lint": "n8n-node lint",
|
|
23
|
+
"lint:fix": "n8n-node lint --fix",
|
|
24
|
+
"release": "n8n-node release",
|
|
25
|
+
"prepublishOnly": "n8n-node prerelease"
|
|
26
|
+
},
|
|
27
|
+
"files": [
|
|
28
|
+
"dist"
|
|
29
|
+
],
|
|
30
|
+
"n8n": {
|
|
31
|
+
"n8nNodesApiVersion": 1,
|
|
32
|
+
"strict": true,
|
|
33
|
+
"nodes": [
|
|
34
|
+
"dist/nodes/Instagram/Instagram.node.js"
|
|
35
|
+
],
|
|
36
|
+
"credentials": [
|
|
37
|
+
"dist/credentials/InstagramApi.credentials.js"
|
|
38
|
+
]
|
|
39
|
+
},
|
|
40
|
+
"devDependencies": {
|
|
41
|
+
"@n8n/node-cli": "*",
|
|
42
|
+
"@types/estree": "^1.0.8",
|
|
43
|
+
"@types/json-schema": "^7.0.15",
|
|
44
|
+
"eslint": "9.32.0",
|
|
45
|
+
"prettier": "3.6.2",
|
|
46
|
+
"release-it": "^19.0.4",
|
|
47
|
+
"typescript": "5.9.2"
|
|
48
|
+
},
|
|
49
|
+
"peerDependencies": {
|
|
50
|
+
"n8n-workflow": "*"
|
|
51
|
+
}
|
|
52
|
+
}
|