Link Preview
You'll add the handful of tags that make your link show up as a proper card, with a title, a picture and an icon, when someone pastes it in a chat.
About
When you share a link, the app reads a few tags from the head of your page and builds a little card from them. No tags means a blank gray box. A title, a description, a favicon and a preview image take about an hour to set up, and every share after that looks like you meant it. The catch is that each app caches its card, so a wrong image can stick around for days, which is why you check in three places.
At a glance
- Per requirement
- 15 XP
- Completion bonus
- 75 XP
- Requirements
- 5
- Takes
- One evening
- Skill level
- Beginner (done it a few times)
- Cost
- Free
- Supplies
- Nothing special
- Where
- At home
- Other people
- On your own
Requirements
-
1
Write a title and a meta description for every page. Keep the title under 60 characters and the description under 155. Say what the page is, not what you hope it is, and make them different for each page. Take a screenshot of the head of two different pages. Photo
-
2
Make a favicon by hand. A 32px square is all it takes. Draw it in any image editor, or make an SVG with a single letter in it. Add the link tag and check that it shows up in the browser tab. Take a screenshot of the tab with your icon in it. Photo
-
3
Add Open Graph and Twitter card tags. Add og:title, og:description, og:image, og:url and twitter:card to the head of every page, since those are the tags chat apps and social networks read when they build the card. Take a screenshot of the tags in your page source. Photo
-
4
Make a preview image yourself. Make it 1200 by 630 pixels and under 200 KB. Your name or the page title on a solid color is plenty. Use any image editor, or build an HTML page and screenshot it at that size. Take a screenshot of the image file with its dimensions showing. Photo
-
5
Paste the link into three apps and check the cards. Try a group chat, a social network and a direct message. Each one builds its own card and caches it, so a wrong image can stick for days, and you fix anything that looks off. Film yourself pasting the link into all three, or take a screenshot of each card. Photo or video