This module is agnostic to any JS framework and supports TypeScript out of the box.
Now you can generate smart image URLs like shown below.
If you are using React, you should use this URL as content of some of your HTML's head tags to render link previews:
The meta-tags code needs to be static, processed at build time or server-side rendered for link previews to work.
Now you're able to manage your link previews from your dashboard, create content from templates while preserving your brand style and export it as social media formats.
@flayyer/flayyer supports HMAC and JWT signatures.
secret key in your dashboard > your project > Advanced settings > Signed URLS, and enable the signing strategy you desire.
Make sure FlayyerAI is instanciated at build time or server-side, so your secret is not exposed on the client.