Lessons learned from building a minimal, predictable URL preview API

This started as a feature request at the company I work for.

We’re building a platform that connects pet parents with pet care service providers. A real-time, two-way chat system between our users is one of the most active parts of the platform—thousands of messages are sent every day.

One basic expectation is that when someone pastes a link, it expands into a neat preview: title, description, image, favicon; the usual things. Nothing fancy, just the standard link card you see on Facebook Messenger, WhatsApp, and similar apps.

I assumed this would be a straightforward task. After all, there are plenty of URL preview APIs out there, right?

Turns out… not exactly.


What I Found When Researching URL Pre…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help