Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize Open Graph metadata to HTML headers #4

Open
aschrijver opened this issue Oct 30, 2018 · 3 comments
Open

Optimize Open Graph metadata to HTML headers #4

aschrijver opened this issue Oct 30, 2018 · 3 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@aschrijver
Copy link
Contributor

Add sufficient Open Graph and other meta tags to the HTML header.

@aschrijver aschrijver added the enhancement New feature or request label Oct 30, 2018
@aschrijver
Copy link
Contributor Author

Most important Open Graph info is present, but needs to be further improved:

<meta name="description" content="Our global community of concerned people focuses on the rising harms of new technology, as it is radically transforming our world. And our mission is to change this trend.  To Re-align Technology to Humanity’s Best Interests.  — The Center for Humane Technology">
<meta property="og:type" content="website">
<meta property="og:locale" content="en_US">
<meta property="og:site_name" content="Humane Tech Community">
<meta property="og:title" content="Humane Tech Community">
<meta property="og:url" content="http://localhost:4000/">
<meta property="og:description" content="Our global community of concerned people focuses on the rising harms of new technology, as it is radically transforming our world. And our mission is to change this trend.  To Re-align Technology to Humanity’s Best Interests.  — The Center for Humane Technology">
<meta property="og:image" content="http://localhost:4000/assets/images/humane-tech-community-ogimage.png">

<script type="application/ld+json">
    {
      "@context": "http://schema.org",
      "@type": "Organization",
      "url": "http://localhost:4000/",
      "logo": "http://localhost:4000/assets/images/humane-tech-community-ogimage.png"
    }
</script>

<script type="application/ld+json">
    {
      "@context": "http://schema.org",
      "@type": "Person",
      "name": "Arnold Schrijver",
      "url": "http://localhost:4000/",
      "sameAs": null
    }
</script>

@aschrijver
Copy link
Contributor Author

Does not work on WhatsApp yet, or it is a cache issue.
Looked at details here: https://stackoverflow.com/questions/25100917/showing-thumbnail-for-link-in-whatsapp-ogimage-meta-tag-doesnt-work#32154775

@aschrijver
Copy link
Contributor Author

LinkedIn and Twitter previews do also not work properly. See #29

@aschrijver aschrijver added bug Something isn't working and removed enhancement New feature or request labels Apr 24, 2019
@aschrijver aschrijver changed the title Add Open Graph metadata to HTML headers Optimize Open Graph metadata to HTML headers May 7, 2019
@aschrijver aschrijver added the good first issue Good for newcomers label May 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant