chirpie 1.0.50 → 1.0.52
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 +2 -1
- package/dist/index.js +14 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -37,7 +37,7 @@ export CHIRPIE_API_KEY=chirpie_sk_...
|
|
|
37
37
|
| `chirpie posts update <id>` | Edit a post that has not published yet, or finish a draft. `--text`, `--media`, `--alt`, `--clear-media`, `--first-comment` (`""` removes it), `--instagram-placement`, `--facebook-placement`, `--clear-placement`, `--schedule-at`, `--timezone`, `--keep-draft`. Leaving `--schedule-at` out keeps the time it already has |
|
|
38
38
|
| `chirpie posts publish <id>` | Send a saved draft now. `-t` sets the final text first |
|
|
39
39
|
| `chirpie posts first-comment <id>` | Post a first comment that failed, again. It re-sends the text the post already carries. `--idempotency-key` makes a retry safe |
|
|
40
|
-
| `chirpie posts delete <id>` | Take a post down from the platform. Chirpie keeps it, marked deleted. Deleting any post of a scheduled thread cancels the thread.
|
|
40
|
+
| `chirpie posts delete <id>` | Take a post down from the platform. Chirpie keeps it, marked deleted. Deleting any post of a scheduled thread cancels the thread. A published TikTok post, or one on an Instagram account connected through Instagram rather than via Facebook, cannot be deleted and refuses with `delete_unsupported` |
|
|
41
41
|
| `chirpie posts hide <id>` / `unhide <id>` | Hide a post from your Chirpie listings, or show it again. Nothing reaches the platform |
|
|
42
42
|
| `chirpie accounts` | List connected accounts, active and inactive |
|
|
43
43
|
| `chirpie accounts activate <id>` / `deactivate <id>` | Choose which accounts publish. Deactivating cancels that account's scheduled posts |
|
|
@@ -46,6 +46,7 @@ export CHIRPIE_API_KEY=chirpie_sk_...
|
|
|
46
46
|
| `chirpie accounts connect-bluesky` | Connect Bluesky with an app password |
|
|
47
47
|
| `chirpie accounts connect-linkedin` / `connect-mastodon` | Start that platform's OAuth flow |
|
|
48
48
|
| `chirpie accounts connect-threads` / `connect-instagram` / `connect-facebook` | Start that platform's OAuth flow (coming soon) |
|
|
49
|
+
| `chirpie accounts connect-instagram --via facebook` | Connect Instagram by signing in with Facebook instead, which connects the Instagram accounts linked to the Pages you share and is the route where a published post can be deleted from Chirpie. Add `--reconnect` to ask again about anything turned down last time (coming soon) |
|
|
49
50
|
| `chirpie accounts connect-linkedin --pages` | Connect the LinkedIn Pages you administer, each as its own account (coming soon) |
|
|
50
51
|
| `chirpie accounts connect-telegram` | Connect a Telegram bot to a channel or group |
|
|
51
52
|
| `chirpie accounts x-keys set` / `status` / `remove` | Use your own X developer app |
|
package/dist/index.js
CHANGED
|
@@ -1075,10 +1075,22 @@ accountsCommand.command("connect-mastodon").description("Connect a Mastodon acco
|
|
|
1075
1075
|
process.exit(1);
|
|
1076
1076
|
}
|
|
1077
1077
|
});
|
|
1078
|
-
accountsCommand.command("connect-instagram").description("Connect an Instagram account
|
|
1078
|
+
accountsCommand.command("connect-instagram").description("Connect an Instagram account (OAuth, coming soon)").option(
|
|
1079
|
+
"--via <route>",
|
|
1080
|
+
"How to connect: 'instagram' (the default, no Facebook Page needed) or 'facebook' (connects the accounts linked to your Facebook Pages, and is the only route where posts can be deleted)",
|
|
1081
|
+
"instagram"
|
|
1082
|
+
).option("--reconnect", "Ask again about anything you turned down last time").option("--json", "Output raw JSON").action(async (opts, cmd) => {
|
|
1079
1083
|
const client = getClient();
|
|
1084
|
+
const via = String(opts.via ?? "instagram").toLowerCase();
|
|
1085
|
+
if (via !== "instagram" && via !== "facebook") {
|
|
1086
|
+
error("--via must be 'instagram' or 'facebook'");
|
|
1087
|
+
process.exit(1);
|
|
1088
|
+
}
|
|
1080
1089
|
try {
|
|
1081
|
-
const result = await client.connectInstagramAccount(
|
|
1090
|
+
const result = await client.connectInstagramAccount({
|
|
1091
|
+
via,
|
|
1092
|
+
...opts.reconnect ? { reconnect: true } : {}
|
|
1093
|
+
});
|
|
1082
1094
|
if (wantsJson(opts, cmd)) {
|
|
1083
1095
|
json(result);
|
|
1084
1096
|
} else {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "chirpie",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.52",
|
|
4
4
|
"description": "Chirpie CLI: post to social media from the command line",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
],
|
|
45
45
|
"license": "MIT",
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@chirpie/sdk": "^1.0.
|
|
47
|
+
"@chirpie/sdk": "^1.0.49",
|
|
48
48
|
"commander": "^13"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|