githublinkedin-apigithub-pagesslackskype

Why is my unfurl 'og:image' for gh-pages not showing up in any platform?


Unfurl image of my github pages website not showing up anywhere.

I have tried <meta property="og:image" content="icon.png"/> in my header tag I have also uploaded an image here, enter image description here

Output as seen in Slack:

Output as seen in Skype:

Output as seen in Linkedin:


Solution

  • What you have used:

        <!-- Unfurl Meta -->
        <meta property="og:url" content="https://akibrhast.github.io/Hack-Or-Snooze/"/>
        <meta property="og:title" content="Hack Or Snooze"/>
        <meta property="og:description" content="A Hacker News Clone, with Fresh Viewpoint!"/>
        <meta property="og:site_name" content="Hack Or Snooze"/>
    <!-- <meta property="og:image" content="icon.png"/> -->

    The possible reasons I think,are:

    <!-- Unfurl Meta -->
    <meta property="og:url" content="https://akibrhast.github.io/Hack-Or-Snooze/"/>
    <meta property="og:title" content="Hack Or Snooze"/>
    <meta property="og:description" content="A Hacker News Clone, with Fresh Viewpoint!"/>
    <meta property="og:site_name" content="Hack Or Snooze"/>
    <meta property="og:image" content="./icon.png"/>

    I hope this will work.
    And the image you have given in the repository settings is shown on Social Media, when your repository link is shared(i.e., https://github.com/akibrhast/Hack-Or-Snooze) .Repository Og Pic
    And remember to follow the image requirements of LinkedIn,as mentioned here.