Hyvor Unfold is an open-source PHP library and self-hostable API for generating embed codes (Youtube, Twitter, and more) and fetching metadata from URLs for link previews.
Visit these pages to get started:
Hyvor Unfold can convert URLs from various platforms to embed HTML codes.
See our policy for adding new platforms.
You can also use Hyvor Unfold to fetch metadata from URLs. For example, you can use this to show a preview of a URL (called 'unfurled link').
When you request link data (via PHP or API), we send a GET
request to the URL and parse
the metadata from the HTML. This is done using the following:
<title>
and <meta name="description">
tags for the title and description.