Skip to content
This repository has been archived by the owner on Jul 19, 2022. It is now read-only.

Social Media Meta Information Missing / 2018 Image #209

Open
BBlackwo opened this issue Nov 28, 2019 · 1 comment
Open

Social Media Meta Information Missing / 2018 Image #209

BBlackwo opened this issue Nov 28, 2019 · 1 comment

Comments

@BBlackwo
Copy link
Contributor

Two things:

  1. The meta image is pointing to a 2018 image
const image = 'http://stateofjs.com/images/stateofjs2018-social-media.png'
  1. But more importantly, social media meta information is not being rendered, even though it's being passed into to react-helmet. Not sure what's wrong there.

Here's the generated HTML, with no og:image tags, or even a description.

    <head>
        <meta charset="utf-8" />
        <meta http-equiv="x-ua-compatible" content="ie=edge" />
        <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
        <meta name="generator" content="Gatsby 2.0.18" />
        <title data-react-helmet="true">The State of JavaScript 2018</title>
        <meta
            data-react-helmet="true"
            name="google-site-verification"
            content="hrTRsz9fkGmQlVbLBWA4wmhn0qsI6_M3NKemTGCkpps"
        />
        <script
            data-react-helmet="true"
            src="//js.maxmind.com/js/apis/geoip2/v2.1/geoip2.js"
            type="text/javascript"
        ></script>
        <link
            as="script"
            rel="preload"
            href="/component---src-pages-index-js-75192a9818def016623e.js"
        />
        <link as="script" rel="preload" href="/3-89dc49995d27e432ca46.js" />
        <link as="script" rel="preload" href="/app-92e80d35ace2429ede91.js" />
        <link as="script" rel="preload" href="/webpack-runtime-33f4d9f5e0742a4d2224.js" />
        <link
            rel="preload"
            href="/static/d/173/path---index-6a9-NZuapzHg3X9TaN1iIixfv1W23E.json"
            as="fetch"
            crossorigin="use-credentials"
        />
    </head>

And the Facebook Sharing Debugger:

Screen Shot 2019-11-28 at 6 49 25 pm

@SachaG
Copy link
Member

SachaG commented Nov 28, 2019

Thanks, I'll look into it. Didn't have much time to go back and update this landing page yet…

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants