aboutsummaryrefslogtreecommitdiff
path: root/app/shares.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/shares.php')
-rw-r--r--app/shares.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/app/shares.php b/app/shares.php
index cd09aa19c..8c6b4eac6 100644
--- a/app/shares.php
+++ b/app/shares.php
@@ -120,11 +120,10 @@ return array(
'method' => 'GET',
),
'mastodon' => array(
- 'url' => '~URL~/api/v1/statuses',
- 'transform' => array(),
+ 'url' => '~URL~/share?title=~TITLE~&url=~LINK~',
+ 'transform' => array('rawurlencode'),
'form' => 'advanced',
- 'method' => 'POST',
- 'field' => 'status',
+ 'method' => 'GET',
),
'pocket' => array(
'url' => 'https://getpocket.com/save?url=~LINK~&title=~TITLE~',