Lens Share

A Lens Share Link is a standardized URL that allows you to share publications and profiles on social media, chat platforms, and other Lens apps.

If you want your app to support Lens Share, please submit a pull request here.

The format for a Lens Share Link for publications is as follows:

https://share.lens.xyz/p/<id>[?by=<appId>]

In this format:

  • <id> represents the publication ID.

  • <appId> is an optional parameter that denotes the Lens App ID of the app that generated the Lens Share Link. This parameter is used to prioritize the originating app when the user opens the Lens Share Link.

Here are some examples:

  • https://share.lens.xyz/p/0x01

  • https://share.lens.xyz/p/0x01?by=hey

  • https://share.lens.xyz/p/0x01?by=orb

The format for a Lens Share Link for profiles is as follows:

https://share.lens.xyz/u/<fullHandle>[?by=<appId>]

In this format:

  • <fullHandle> represents the full handle of the profile, including the namespace (e.g. lens/alice, lens/bob, etc.).

  • <appId> is an optional parameter that denotes the Lens App ID of the app that generated the Lens Share Link. This parameter is used to prioritize the originating app when the user opens the Lens Share Link.

Here are some examples:

  • https://share.lens.xyz/u/lens/alice

  • https://share.lens.xyz/u/lens/alice?by=Hey