aboutsummaryrefslogtreecommitdiff
path: root/app/shares.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2018-06-16 09:59:46 +0200
committerGravatar GitHub <noreply@github.com> 2018-06-16 09:59:46 +0200
commit3306a1679c2570c30d4b662c887b4a71ce147398 (patch)
tree35fb1616c1166723676c789d6127a98db3260148 /app/shares.php
parentc0122003fe3031926546012b86a38b5187082613 (diff)
parent8fcacc8cf41c14dd7d9712329d75ff4f041f3caf (diff)
Merge pull request #1921 from FreshRSS/dev1.11.1
FreshRSS 1.11.1
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~&amp;title=~TITLE~',