Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 1.1 KB

README.md

File metadata and controls

38 lines (26 loc) · 1.1 KB

Generate Open Graph Images

Use the Vercel Now.sh platform to create a serverless function to create social sharing cards.

By passing author, website, title and image to the project on Now you get an image generated with those details, take a look at the URL:

https://image-og.now.sh/og.jpg
?author=Scott%20Spence
&website=scottspence.com
&title=Modern%20web%20development%20guides%20hints%20and%20tips.
&image=https%3A%2F%2Fscottspence.me%2Ffavicon.png

Visit the URL for the asset generated:

open graph card example

Resources

I followed along with the Leigh Halliday course on YouTube

Related