'how can i make og:url meta tags work in node js

I'm trying to share articles with facebook, this is my code:

<!doctype html>
    <html>
        <head>
            <meta property="og:url"                content="http://www.nytimes.com/2015/02/19/arts/international/when-great-minds-dont-think-alike.html" />
            <meta property="og:type"               content="article" />
            <meta property="og:title"              content="When Great Minds Don’t Think Alike" />
            <meta property="og:description"        content="How much does culture influence creative thinking?" />
            <meta property="og:image"              content="http://static01.nyt.com/images/2015/02/19/arts/international/19iht-btnumbers19A/19iht-btnumbers19A-facebookJumbo-v2.jpg" />
        </head>
        <body>
            <div style="text-align: center;padding: 24px;">
                <div>test</div>
                <div class="lds-ripple">
                    <div></div>
                    <div></div>
                </div>
            </div>
        </body>
    </html>

but when I test it, it looks like this:

My test in facebook

it seems that the only tag that doesn't work is og:url. Does anyone know what I'm doing wrong?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source