Twitter:image Not Visible For Vue.js Application

- 1 answer

I am having issues with the Twitter card of a Vue.js application. When I run the url through the Twitter card validator, all the checks pass but the image is not displayed.

I went through the troubleshoot guide from Twitter and applied the changes below to the image, but I could still not resolve the issue.

This is how I am defining the image in the index.html file of the project. The image is saved in the public folder.

<meta name="twitter:image" content="">

Do you have any pointers as to what might be causing the issue?



Checking the Twitter Card Validator right now shows the correct image. Sometimes the card you're seeing is cached, so if you want to look at the latest version of the image, just add a parameter with a random name and (optionally) a random value.

For the link, for example, just adding a small random parameter will force Twitter to load the latest version of the image. This should load the same page since the parameter means nothing (normally).

You can also use this same method when posting your actual link to Twitter. This will ensure that the latest card preview is always used by Twitter.

I got this card from the validator. This seems to match the image in the link you provided. Card screenshot