V
V
Vladimir2019-06-24 18:12:50
open graph
Vladimir, 2019-06-24 18:12:50

How to make OG preview for Vue links?

I am creating an application in which the user can save links to different sites. When saving, the link is entered into the table. In the same table, an OG preview for the created link should appear (for example, like Vkontakte when inserting a link into a message).
5d10e7e458e10138471596.png
How to implement this in Vue?
As I understand it, it is necessary to send a request there when saving the link, then parse the html document in order to get meta tags from there that relate to OG? Or is there an easier way?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Ronald McDonald, 2019-06-24
@Zoominger

As I understand it, it is necessary to send a request there when saving the link, then parse the html document in order to get meta tags from there that relate to OG? Or is there an easier way?

Yes. Where is it easier?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question