chirpie 1.0.26 → 1.0.28
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/dist/index.js +7 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -553,10 +553,15 @@ accountsCommand.command("connect-instagram").description("Connect an Instagram a
|
|
|
553
553
|
process.exit(1);
|
|
554
554
|
}
|
|
555
555
|
});
|
|
556
|
-
accountsCommand.command("connect-facebook").description("Connect a Facebook Page via Facebook Login (OAuth)").
|
|
556
|
+
accountsCommand.command("connect-facebook").description("Connect a Facebook Page via Facebook Login (OAuth)").option(
|
|
557
|
+
"--reconnect",
|
|
558
|
+
"Re-run the flow for an already authorized Facebook account, asking again about anything turned down last time"
|
|
559
|
+
).action(async (options) => {
|
|
557
560
|
const client = getClient();
|
|
558
561
|
try {
|
|
559
|
-
const result = await client.connectFacebookAccount(
|
|
562
|
+
const result = await client.connectFacebookAccount({
|
|
563
|
+
reconnect: options.reconnect === true
|
|
564
|
+
});
|
|
560
565
|
info("Open this URL in your browser to connect your Facebook Page:");
|
|
561
566
|
console.log(`
|
|
562
567
|
${result.authorization_url}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "chirpie",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.28",
|
|
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.26",
|
|
48
48
|
"commander": "^13"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|