What is Link Preview?
FrankerFaceZ provides a link preview service for its users. But what does that mean?
Whenever a FrankerFaceZ user encounters a link in Twitch chat, assuming they have the relevant settings enabled, their client will send a request to the FrankerFaceZ Link Preview service asking for more details.
The service will visit the URL and do its best to return helpful information about the page it found. In some cases, the service will use a website's API to get the information it wants. In other cases, the service will request a page normally and attempt to read things like <meta>
tags using the Open Graph protocol.
You're probably familiar with how this works from other software. Slack and Discord, to give two popular examples, both have their own link preview systems that work in similar ways.
In summary, the user provides a URL like:
In return, the service returns the data the client needs to build a preview like:
If you use FrankerFaceZ, check the client guide for help setting up your client to use previews. If you want to play around, wander over to the Testing Tool.
Want to know more details? Continue on to Meet Our Robot.