@0m4r/n8n-nodes-gramflow 1.0.0-beta.0 → 1.0.0-beta.2
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 +4 -3
- package/dist/credentials/gramflow.svg +33 -24
- package/dist/nodes/Gramflow/{Instagram.node.json → Gramflow.node.json} +1 -1
- package/dist/nodes/GramflowTrigger/{InstagramTrigger.node.json → GramflowTrigger.node.json} +1 -1
- package/dist/package.json +9 -3
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +10 -4
- package/dist/credentials/credentials.test.d.ts +0 -1
- package/dist/credentials/credentials.test.js +0 -49
- package/dist/credentials/credentials.test.js.map +0 -1
- package/dist/credentials/instagram.svg +0 -27
- package/dist/nodes/Gramflow/Instagram.node.test.d.ts +0 -1
- package/dist/nodes/Gramflow/Instagram.node.test.js +0 -227
- package/dist/nodes/Gramflow/Instagram.node.test.js.map +0 -1
- package/dist/nodes/Gramflow/containerPolling.test.d.ts +0 -1
- package/dist/nodes/Gramflow/containerPolling.test.js +0 -48
- package/dist/nodes/Gramflow/containerPolling.test.js.map +0 -1
- package/dist/nodes/Gramflow/containerStatus.test.d.ts +0 -1
- package/dist/nodes/Gramflow/containerStatus.test.js +0 -75
- package/dist/nodes/Gramflow/containerStatus.test.js.map +0 -1
- package/dist/nodes/Gramflow/httpLogging.test.d.ts +0 -1
- package/dist/nodes/Gramflow/httpLogging.test.js +0 -54
- package/dist/nodes/Gramflow/httpLogging.test.js.map +0 -1
- package/dist/nodes/Gramflow/operations/auth.test.d.ts +0 -1
- package/dist/nodes/Gramflow/operations/auth.test.js +0 -14
- package/dist/nodes/Gramflow/operations/auth.test.js.map +0 -1
- package/dist/nodes/Gramflow/operations/carousel.test.d.ts +0 -1
- package/dist/nodes/Gramflow/operations/carousel.test.js +0 -56
- package/dist/nodes/Gramflow/operations/carousel.test.js.map +0 -1
- package/dist/nodes/Gramflow/operations/comments.test.d.ts +0 -1
- package/dist/nodes/Gramflow/operations/comments.test.js +0 -14
- package/dist/nodes/Gramflow/operations/comments.test.js.map +0 -1
- package/dist/nodes/Gramflow/operations/igHashtag.test.d.ts +0 -1
- package/dist/nodes/Gramflow/operations/igHashtag.test.js +0 -32
- package/dist/nodes/Gramflow/operations/igHashtag.test.js.map +0 -1
- package/dist/nodes/Gramflow/operations/igUser.test.d.ts +0 -1
- package/dist/nodes/Gramflow/operations/igUser.test.js +0 -23
- package/dist/nodes/Gramflow/operations/igUser.test.js.map +0 -1
- package/dist/nodes/Gramflow/operations/messaging.test.d.ts +0 -1
- package/dist/nodes/Gramflow/operations/messaging.test.js +0 -19
- package/dist/nodes/Gramflow/operations/messaging.test.js.map +0 -1
- package/dist/nodes/Gramflow/operations/page.test.d.ts +0 -1
- package/dist/nodes/Gramflow/operations/page.test.js +0 -14
- package/dist/nodes/Gramflow/operations/page.test.js.map +0 -1
- package/dist/nodes/Gramflow/operations/publish.test.d.ts +0 -1
- package/dist/nodes/Gramflow/operations/publish.test.js +0 -91
- package/dist/nodes/Gramflow/operations/publish.test.js.map +0 -1
- package/dist/nodes/Gramflow/pagination.test.d.ts +0 -1
- package/dist/nodes/Gramflow/pagination.test.js +0 -70
- package/dist/nodes/Gramflow/pagination.test.js.map +0 -1
- package/dist/nodes/Gramflow/properties.test.d.ts +0 -1
- package/dist/nodes/Gramflow/properties.test.js +0 -59
- package/dist/nodes/Gramflow/properties.test.js.map +0 -1
- package/dist/nodes/Gramflow/resources/resources.test.d.ts +0 -1
- package/dist/nodes/Gramflow/resources/resources.test.js +0 -75
- package/dist/nodes/Gramflow/resources/resources.test.js.map +0 -1
- package/dist/nodes/Gramflow/utils.test.d.ts +0 -1
- package/dist/nodes/Gramflow/utils.test.js +0 -78
- package/dist/nodes/Gramflow/utils.test.js.map +0 -1
- package/dist/nodes/GramflowTrigger/InstagramTrigger.node.test.d.ts +0 -1
- package/dist/nodes/GramflowTrigger/InstagramTrigger.node.test.js +0 -222
- package/dist/nodes/GramflowTrigger/InstagramTrigger.node.test.js.map +0 -1
package/README.md
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
[](https://github.com/0m4r/n8n-nodes-gramflow/actions/workflows/publish.yml)
|
|
2
|
+
|
|
3
|
+
# <img src="credentials/gramflow.svg" alt="gramflow" width="60" style="vertical-align: middle; margin-right: 10px;"> @0m4r/n8n-nodes-gramflow
|
|
2
4
|
|
|
3
5
|
---
|
|
4
6
|
|
|
@@ -6,7 +8,6 @@
|
|
|
6
8
|
|
|
7
9
|
---
|
|
8
10
|
|
|
9
|
-
|
|
10
11
|
This package’s Instagram nodes for n8n let you publish and manage content, moderate comments, send DMs, and react to real-time events (comments, messages, mentions, story insights, etc.) on Instagram Business and Creator accounts via the Facebook/Instagram Graph API.
|
|
11
12
|
|
|
12
13
|
All functionality is built on the Facebook/Instagram Graph API, including media publishing (images, Reels, Stories, carousels), comment moderation, private replies, messaging, hashtag search, IG User/Page helpers, and webhook-based triggers for Business and Creator accounts.
|
|
@@ -37,7 +38,7 @@ The node exposes several resources:
|
|
|
37
38
|
| `Carousel` | Publish a carousel (album) post with up to 10 images and/or videos. The node creates child containers, builds a carousel container, waits for it to be ready, then publishes it. Includes detailed per-item error reporting and progress messages. |
|
|
38
39
|
| `Comments` | List comments on media, hide/unhide or delete individual comments, disable/enable comments on media, and send **private replies** to commenters. |
|
|
39
40
|
| `IG User` | Read basic profile data for an Instagram Business/Creator account and list its media using the IG User Graph API. |
|
|
40
|
-
| `IG Hashtag` | Search for hashtags by name and fetch top or recent media for a hashtag with cursor pagination and limit/return-all support.
|
|
41
|
+
| `IG Hashtag` | Search for hashtags by name and fetch top or recent media for a hashtag with cursor pagination and limit/return-all support. |
|
|
41
42
|
| `Messaging` | Send direct messages (DMs) to Instagram users via the Instagram Messaging API. |
|
|
42
43
|
| `Page` | Given a Facebook Page ID, fetch the connected Instagram Business/Creator account (`instagram_business_account`). |
|
|
43
44
|
| `Auth` | Exchange short-lived Instagram User tokens for long-lived tokens, refresh long-lived tokens, and call the Graph API `/me` endpoint. |
|
|
@@ -1,27 +1,36 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="utf-8"?>
|
|
2
2
|
<svg width="800px" height="800px" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
-
<rect x="2" y="2" width="28" height="28" rx="6" fill="#654CE7"/>
|
|
4
|
-
<rect x="2" y="2" width="28" height="28" rx="6" fill="#818CF8"/>
|
|
5
|
-
<rect x="2" y="2" width="28" height="28" rx="6" fill="#A5F3FC"/>
|
|
6
|
-
<path fill-rule="evenodd" clip-rule="evenodd"
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
<
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
<
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
<
|
|
16
|
-
<
|
|
17
|
-
|
|
18
|
-
<stop
|
|
19
|
-
<stop offset="
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
<
|
|
23
|
-
|
|
24
|
-
<stop
|
|
25
|
-
|
|
26
|
-
|
|
3
|
+
<rect x="2" y="2" width="28" height="28" rx="6" fill="#654CE7" />
|
|
4
|
+
<rect x="2" y="2" width="28" height="28" rx="6" fill="#818CF8" />
|
|
5
|
+
<rect x="2" y="2" width="28" height="28" rx="6" fill="#A5F3FC" />
|
|
6
|
+
<path fill-rule="evenodd" clip-rule="evenodd"
|
|
7
|
+
d="M23 10.5C23 11.3284 22.3284 12 21.5 12C20.6716 12 20 11.3284 20 10.5C20 9.67157 20.6716 9 21.5 9C22.3284 9 23 9.67157 23 10.5Z"
|
|
8
|
+
fill="white" />
|
|
9
|
+
<path fill-rule="evenodd" clip-rule="evenodd"
|
|
10
|
+
d="M16 21C18.7614 21 21 18.7614 21 16C21 13.2386 18.7614 11 16 11C13.2386 11 11 13.2386 11 16C11 18.7614 13.2386 21 16 21ZM16 19C17.6569 19 19 17.6569 19 16C19 14.3431 17.6569 13 16 13C14.3431 13 13 14.3431 13 16C13 17.6569 14.3431 19 16 19Z"
|
|
11
|
+
fill="white" />
|
|
12
|
+
<path fill-rule="evenodd" clip-rule="evenodd"
|
|
13
|
+
d="M6 15.6C6 12.2397 6 10.5595 6.65396 9.27606C7.2292 8.14708 8.14708 7.2292 9.27606 6.65396C10.5595 6 12.2397 6 15.6 6H16.4C19.7603 6 21.4405 6 22.7239 6.65396C23.8529 7.2292 24.7708 8.14708 25.346 9.27606C26 10.5595 26 12.2397 26 15.6V16.4C26 19.7603 26 21.4405 25.346 22.7239C24.7708 23.8529 23.8529 24.7708 22.7239 25.346C21.4405 26 19.7603 26 16.4 26H15.6C12.2397 26 10.5595 26 9.27606 25.346C8.14708 24.7708 7.2292 23.8529 6.65396 22.7239C6 21.4405 6 19.7603 6 16.4V15.6ZM15.6 8H16.4C18.1132 8 19.2777 8.00156 20.1779 8.0751C21.0548 8.14674 21.5032 8.27659 21.816 8.43597C22.5686 8.81947 23.1805 9.43139 23.564 10.184C23.7234 10.4968 23.8533 10.9452 23.9249 11.8221C23.9984 12.7223 24 13.8868 24 15.6V16.4C24 18.1132 23.9984 19.2777 23.9249 20.1779C23.8533 21.0548 23.7234 21.5032 23.564 21.816C23.1805 22.5686 22.5686 23.1805 21.816 23.564C21.5032 23.7234 21.0548 23.8533 20.1779 23.9249C19.2777 23.9984 18.1132 24 16.4 24H15.6C13.8868 24 12.7223 23.9984 11.8221 23.9249C10.9452 23.8533 10.4968 23.7234 10.184 23.564C9.43139 23.1805 8.81947 22.5686 8.43597 21.816C8.27659 21.5032 8.14674 21.0548 8.0751 20.1779C8.00156 19.2777 8 18.1132 8 16.4V15.6C8 13.8868 8.00156 12.7223 8.0751 11.8221C8.14674 10.9452 8.27659 10.4968 8.43597 10.184C8.81947 9.43139 9.43139 8.81947 10.184 8.43597C10.4968 8.27659 10.9452 8.14674 11.8221 8.0751C12.7223 8.00156 13.8868 8 15.6 8Z"
|
|
14
|
+
fill="white" />
|
|
15
|
+
<defs>
|
|
16
|
+
<radialGradient id="paint0_radial_87_7153" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse"
|
|
17
|
+
gradientTransform="translate(12 23) rotate(-55.3758) scale(25.5196)">
|
|
18
|
+
<stop stop-color="#4F46E5" />
|
|
19
|
+
<stop offset="0.79309" stop-color="#7C3AED" />
|
|
20
|
+
<stop offset="1" stop-color="#A78BFA" />
|
|
21
|
+
</radialGradient>
|
|
22
|
+
<radialGradient id="paint1_radial_87_7153" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse"
|
|
23
|
+
gradientTransform="translate(11 31) rotate(-65.1363) scale(22.5942)">
|
|
24
|
+
<stop stop-color="#10B981" />
|
|
25
|
+
<stop offset="0.444662" stop-color="#34D399" />
|
|
26
|
+
<stop offset="0.71474" stop-color="#6EE7B7" />
|
|
27
|
+
<stop offset="1" stop-color="#6EE7B7" stop-opacity="0" />
|
|
28
|
+
</radialGradient>
|
|
29
|
+
<radialGradient id="paint2_radial_87_7153" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse"
|
|
30
|
+
gradientTransform="translate(0.500002 3) rotate(-8.1301) scale(38.8909 8.31836)">
|
|
31
|
+
<stop offset="0.156701" stop-color="#F472B6" />
|
|
32
|
+
<stop offset="0.467799" stop-color="#EC4899" />
|
|
33
|
+
<stop offset="1" stop-color="#EC4899" stop-opacity="0" />
|
|
34
|
+
</radialGradient>
|
|
35
|
+
</defs>
|
|
27
36
|
</svg>
|
package/dist/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@0m4r/n8n-nodes-gramflow",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "Gramflow is a production-ready Instagram automation toolkit for n8n. Publish images, Reels, Stories, and carousels; moderate comments; send DMs; search hashtags; manage tokens; and react to real-time Instagram events
|
|
3
|
+
"version": "1.0.0-beta.2",
|
|
4
|
+
"description": "Gramflow is a production-ready Instagram automation toolkit for n8n. Publish images, Reels, Stories, and carousels; moderate comments; send DMs; search hashtags; manage tokens; and react to real-time Instagram events—using Meta's official Instagram and Facebook Graph APIs.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://github.com/0m4r/n8n-nodes-gramflow#readme",
|
|
7
7
|
"keywords": [
|
|
@@ -46,7 +46,13 @@
|
|
|
46
46
|
"typecheck": "npm exec -- tsc --noEmit"
|
|
47
47
|
},
|
|
48
48
|
"files": [
|
|
49
|
-
"dist"
|
|
49
|
+
"dist",
|
|
50
|
+
"!dist/**/*.test.js",
|
|
51
|
+
"!dist/**/*.test.d.ts",
|
|
52
|
+
"!dist/**/*.test.js.map",
|
|
53
|
+
"!dist/**/*.spec.js",
|
|
54
|
+
"!dist/**/*.spec.d.ts",
|
|
55
|
+
"!dist/**/*.spec.js.map"
|
|
50
56
|
],
|
|
51
57
|
"n8n": {
|
|
52
58
|
"n8nNodesApiVersion": 1,
|