We want to split the URL pointing to Angular 2 on social networks. For example, Facebook and Skype.
on our website, this URL displays a dynamic image depending on the actual parameters of the URL and the query strings that we set.
For example, when going to http://oursite.com/#/show/5448sd84f8d4sf8 will be displayed.
Having shared the link, it seems that Facebook and Skype are using Open Graph meta og:image to display a thumbnail or snapshot of the website:
<meta name="og:image" content="http://example.com/image.png">
Is there a way to set a dynamic og image: depending on the url, as explained below: the link to our url will show
<meta name="og:image" content="http://oursite.com/images/5448sd84f8d4sf8.png">
And then, how do you make sure that Facebook and Skype, for example, actually analyze the dynamic image?
source share