Skip to content

Instantly share code, notes, and snippets.

Last active December 26, 2015 14:49
Show Gist options
  • Save dlinsin/7168888 to your computer and use it in GitHub Desktop.
Save dlinsin/7168888 to your computer and use it in GitHub Desktop.
Linkly x-callback-url integration

Integrate Linkly Clipping into your App

You can integrate your App or Website with Linkly starting from Version 1.2.


Linkly supports x-callback-url, which provides a standardized means for iOS developers to expose and document features of their App to other developers.

Linkly's exposed URL schema


This is the base URL that you use to clip with Linkly. All other parameters defined by x-callback-url can be passed along, but only the following are respected:

  • x-success
  • x-error (including errorCode=code&errorMessage=message)

Both URLs are called on successful clipping or an error during clipping, respectivley.

Linkly supports clipping the URL in UIPasteboard right after application:didFinishLaunchingWithOptions: has been called. Since this could interfere with calling Linkly's URL schema, you can pass a custom parameter to prevent clipping:



If you have any questions, need some help or would like to integrate Linkly deeper into your App, let us know:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment