From d4a9349de3bdaedc7c4a9d1f9feb39cff9907a39 Mon Sep 17 00:00:00 2001 From: Paola De Bartolo Date: Mon, 17 Jul 2023 21:27:06 -0300 Subject: [PATCH 1/4] fix: update facebook driver link --- src/lib/drivers/FacebookDriver.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/drivers/FacebookDriver.ts b/src/lib/drivers/FacebookDriver.ts index e1e9ebc..bc28880 100644 --- a/src/lib/drivers/FacebookDriver.ts +++ b/src/lib/drivers/FacebookDriver.ts @@ -17,6 +17,6 @@ export default class FacebookDriver extends Driver implements hasLink { } getLink(): string { - return `https://twitter.com/share?text=${encodeURIComponent(this.options?.shareText!)}&url=${this.options?.shareLink}` + return `https://facebook.com/sharer/sharer.php?u=${this.options?.shareLink}&t=${encodeURIComponent(this.options?.shareText!)}` } } From b4d9917e5288955d367b9d9e8a240b04dcd65ff9 Mon Sep 17 00:00:00 2001 From: Paola De Bartolo Date: Tue, 18 Jul 2023 23:38:41 -0300 Subject: [PATCH 2/4] fix: update whatsapp driver link --- src/lib/drivers/WhatsappDriver.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/drivers/WhatsappDriver.ts b/src/lib/drivers/WhatsappDriver.ts index 948ddc2..0163723 100644 --- a/src/lib/drivers/WhatsappDriver.ts +++ b/src/lib/drivers/WhatsappDriver.ts @@ -17,6 +17,6 @@ export default class WhatsappDriver extends Driver implements hasLink { } getLink(): string { - return `whatsapp://send?text=${this.options?.shareText} \n ${this.options?.shareLink}` + return `https://wa.me?text=${this.options?.shareText} \n ${this.options?.shareLink}` } } From 9de059e18408969fd83cdf36d6cef9ae8d40625e Mon Sep 17 00:00:00 2001 From: Paola De Bartolo Date: Tue, 18 Jul 2023 23:41:03 -0300 Subject: [PATCH 3/4] fix: update twitter driver link --- src/lib/drivers/TwitterDriver.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/drivers/TwitterDriver.ts b/src/lib/drivers/TwitterDriver.ts index 77fb90c..efa6279 100644 --- a/src/lib/drivers/TwitterDriver.ts +++ b/src/lib/drivers/TwitterDriver.ts @@ -17,6 +17,6 @@ export default class TwitterDriver extends Driver implements hasLink { } getLink(): string { - return `https://twitter.com/share?text=${encodeURIComponent(this.options?.shareText!)}&url=${this.options?.shareLink}` + return `https://twitter.com/intent/tweet?text=${encodeURIComponent(this.options?.shareText!)}&url=${this.options?.shareLink}` } } From 2f614dce942bdf0d091cac2fb58d5e243852573b Mon Sep 17 00:00:00 2001 From: Paola De Bartolo Date: Wed, 19 Jul 2023 17:31:43 -0300 Subject: [PATCH 4/4] fix: update linkedin driver link --- src/lib/drivers/LinkedinDriver.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/drivers/LinkedinDriver.ts b/src/lib/drivers/LinkedinDriver.ts index 8eabb2a..51acf0c 100644 --- a/src/lib/drivers/LinkedinDriver.ts +++ b/src/lib/drivers/LinkedinDriver.ts @@ -17,6 +17,6 @@ export default class LinkedinDriver extends Driver implements hasLink { } getLink(): string { - return `https://www.linkedin.com/sharing/share-offsite/?url=${this.options?.shareLink}` + return `https://www.linkedin.com/shareArticle?url=${this.options?.shareLink}` } }