0

When I try (for testing) to post a link from my vue.js project in my facebook page, the link preview section does not work as expected although I've added the needed <meta /> facebook tags.

Here is an example of the result: enter image description here

How could it be fixed? Thanks.

nael_d
  • 27
  • 1
  • 11

1 Answers1

2

Facebook's crawler doesn't execute JavaScript. As such, it only sees what you'd see if you hit "view source" on the page - in the case of a Vue app, that's very little.

You'll need to dig into server-side rendering of your components.

tony19
  • 125,647
  • 18
  • 229
  • 307
ceejayoz
  • 176,543
  • 40
  • 303
  • 368