@zerodot/post-bridge 0.0.0-stage → 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/LICENSE +661 -0
- package/README.md +44 -2
- package/dist/index.cjs +1087 -0
- package/package.json +46 -3
- package/post-bridge.svg +1 -0
package/README.md
CHANGED
|
@@ -1,3 +1,45 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @zerodot/post-bridge
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Publish and schedule social media posts with [Post Bridge](https://www.post-bridge.com). Upload media, manage social accounts, and read post results and analytics. The node uses the Post Bridge REST API (`https://api.post-bridge.com/v1`).
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
In zerodot, go to **System > Nodes** and install **Post Bridge**.
|
|
8
|
+
|
|
9
|
+
Manual: install `@zerodot/post-bridge` where the web app and the worker run, and add it to `ZERODOT_NODE_PACKAGES`.
|
|
10
|
+
|
|
11
|
+
## Nodes
|
|
12
|
+
|
|
13
|
+
### Post Bridge (`post-bridge.api`)
|
|
14
|
+
|
|
15
|
+
- **Post**: create, get many, get, update, delete
|
|
16
|
+
- **Media**: upload, create upload URL, get many, get, delete
|
|
17
|
+
- **Social Account**: get many, get, disconnect, create connect link, search Instagram audio
|
|
18
|
+
- **Post Result**: get many, get
|
|
19
|
+
- **Analytics**: get many, get, get daily, sync
|
|
20
|
+
|
|
21
|
+
Notes:
|
|
22
|
+
|
|
23
|
+
- **Create** a post can publish now, publish at a date and time, use the next queue slot, or save a draft.
|
|
24
|
+
- **Platform Configurations** is a JSON object with one key for each platform. For example: `{"tiktok":{"privacy_status":"private"}}`. See the Post Bridge API reference for the fields of each platform.
|
|
25
|
+
- **Account Configurations** is a JSON object with `account_configurations`. It changes the caption or media for single accounts.
|
|
26
|
+
- **Update** a scheduled post: set **Publish** to **At a Date and Time** and give the time again. If you do not, Post Bridge publishes the post now.
|
|
27
|
+
- **Media > Upload** takes a file from the `binary` data of the input. It asks Post Bridge for an upload URL, then sends the file with PUT. The output has `media_id`. Use this ID in **Media IDs** of a post.
|
|
28
|
+
- **Post > Create** can also upload files. Put the names of the binary properties in **Binary Properties**. The node adds the new media IDs to the post.
|
|
29
|
+
- **Create Upload URL** gives you `media_id` and `upload_url`. You send the file yourself. Use it when the file is not in the input.
|
|
30
|
+
- Media types for upload: PNG, JPEG, MP4, QuickTime, and PDF.
|
|
31
|
+
- **Get many** follows the pages of the API. Turn on **Return All** to get all pages. The limit is 5000 items.
|
|
32
|
+
- **Sync** analytics works for TikTok, YouTube, and Instagram. Post Bridge allows one sync every 30 minutes.
|
|
33
|
+
- The API allows 10 calls each second for each key.
|
|
34
|
+
- Post Bridge removes links from captions for X (Twitter).
|
|
35
|
+
|
|
36
|
+
## Credential
|
|
37
|
+
|
|
38
|
+
**Post Bridge API** (`post-bridge.api`):
|
|
39
|
+
|
|
40
|
+
- **API Key**: the API key of your Post Bridge account (secret)
|
|
41
|
+
- **Base URL**: optional. Empty means `https://api.post-bridge.com`.
|
|
42
|
+
|
|
43
|
+
## License
|
|
44
|
+
|
|
45
|
+
AGPL-3.0-only
|