1
If you are like me and need simple solutions to complex problems I advise you to use Linkpreview. It is a REST API that makes a preview of the link go. https://www.linkpreview.net/
All you need to do is submit a request to Linkpreview with the URL to which the link view should be generated.
after generating your API only edit the JSON to the desired style.