How to generate embedded element for other site to consume?


This Content is from ServerFault. Question asked by alfor

If I put a link on a comment on Twitter, facebook and other place the website analyse the link and show a small preview of the link if possible. It could be a small player for a video or an image with a title, etc.

How does this work?
Is there a standard request made to the site to get an embed version of the page?

How can I do this on my site so the links shared by my users get the best visibility possible?

I am using Django and my content is recipes: an image with a title would make great embed.


This question is not yet answered, be the first one who answer using the comment. Later the confirmed answer will be published as the solution.

This Question and Answer are collected from serverfault, is licensed under the terms of CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.

people found this article helpful. What about you?