Customize how your links appear when shared on WhatsApp, Twitter/X, LinkedIn, Telegram, and Facebook.

When a shortened link is shared across messaging apps or social networks (WhatsApp, LinkedIn, Twitter/X, Discord, Slack), web crawlers scrape Open Graph tags to render a rich link preview card.
LShorter dynamically serves custom Open Graph metadata on the fly from Cloudflare's Edge network, guaranteeing immediate, crisp previews across all distribution channels.
Core architectural pillars ensuring high performance, isolation, and security.
Ready-to-use TypeScript code snippets and configuration examples for your integrations.
Specify metaTitle, ogDescription, and ogImage properties during link creation:
Direct HTTP request methods, parameters schema, authentication, and responses.
Updates the Open Graph title, description, and preview banner image for social crawlers.
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| id | string | Required | Short link slug or ID. | discover-2026 |
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| metaTitle | string | Optional | Social card title (max 70 chars). | Discover Our 2026 Collection — Limited Edition |
| ogDescription | string | Optional | Social card description (max 200 chars). | Get 20% off your first order today with promo code WELCOME. |
| ogImage | string (url) | Optional | Direct image URL with 1.91:1 aspect ratio (recommended 1200x630px). | https://my-product.com/images/og-banner.jpg |
| twitterCard | string (summary | summary_large_image) | Optional | Twitter card layout format.Default: summary_large_image | summary_large_image |
Enriched tags served to social media preview crawlers:
Expert tips to maximize performance, resilience, and link security.
Use 1200 x 630 pixel images with a 1.91:1 aspect ratio for optimal sharpness across Facebook, LinkedIn, and Twitter.
Keep Open Graph titles under 60 characters to prevent truncation on mobile screens.
Validate previews with official debugging tools (Twitter Card Validator, LinkedIn Post Inspector) prior to publishing.