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)