Merge pull request #1916 from hoilc/mastodon-with-get-method

use GET method for mastodon
pull/1918/head
Alexandre Alapetite 6 years ago committed by GitHub
commit 54217c07d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      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~',

Loading…
Cancel
Save