a tool for shared writing and social publishing
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

change screenshot url preview aspect ratio to match our preview

+1 -1
+1 -1
actions/addLinkCard.ts
··· 45 45 }, 46 46 }), 47 47 fetch( 48 - `https://pro.microlink.io/?url=${url}&screenshot&embed=screenshot.url`, 48 + `https://pro.microlink.io/?url=${url}&screenshot&viewport.width=1247&viewport.height=1080&embed=screenshot.url`, 49 49 { 50 50 headers: { 51 51 "x-api-key": process.env.MICROLINK_API_KEY!,