If you copy a link of a post of Reddit and paste it on any social media, the image that shows up is of the actual post (instead of a static image of some branding). what i mean is that the image will show post's title, description, who posted that post, etc.
for example, please take this reddit post's URL for instance:https://www.reddit.com/r/pettyrevenge/comments/1evv53e/she_wanted_the_house/
this is an image of reddit post (in case you dont wanna go to the link and check):
now i will paste this url on a social media and share a screenshot of how it looks:
how can i generate such images on the runtime for my application?
feel free to give me example in any frontend framework/library. i will get the logic and write in my blazor app.