Deprecated: Return type of I::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/public/kirby/toolkit/lib/i.php on line 62

Deprecated: Return type of I::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/public/kirby/toolkit/lib/i.php on line 91

Deprecated: Return type of I::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/public/kirby/toolkit/lib/i.php on line 71

Deprecated: Return type of I::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/public/kirby/toolkit/lib/i.php on line 101

Deprecated: Return type of I::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/public/kirby/toolkit/lib/i.php on line 53

Deprecated: Return type of Collection::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/public/kirby/toolkit/lib/collection.php on line 80

Deprecated: parse_str(): Passing null to parameter #1 ($string) of type string is deprecated in /home/public/kirby/toolkit/lib/url.php on line 135
One Tap Less | Shares for Flickr

Shares for Flickr

'Shares' provides useful custom URL scheme. If you're familiar with it, try to call:

shares://x-callback-url/upload?x-success=URL_ENCODED_YOUR_APP_SCHEME

This will
1) Open 'Shares'
2) User uploads photo to Flickr
3) Automatically returns your app with direct URL of uploaded photo in clipboard that can be pasted.

'Shares' also accepts 'format', 'size', 'autocopy' parameters. For example,

shares://x-callback-url/upload?format=markdown&size=medium&x-success=URL_ENCODED_YOUR_APP_SCHEME

This will
1) open 'Shares'
2) User uploads photo to Flickr
3) Automatically copy Markdown syntax with medium-sized photo URL to clipboard and returns your app.

PARAMETERS

  • format : url/html/markdown (default format is 'url')
  • size : original/large/medium/small/thumbnail (default size is 'original')
  • autocopy : y/n (default is 'y') When set to 'n', use can choose preferred format/size after upload.
  • x-success, x-cancel, x-error supported (see http://x-callback-url.com for detail)