Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

how to generate og:image of a post on the runtime like Reddit does?

$
0
0

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):enter image description here

now i will paste this url on a social media and share a screenshot of how it looks:enter image description here

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.


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>