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

Support FB & Twitter meta tags for nicer linking #161

Open
nickdos opened this issue Feb 26, 2020 · 1 comment
Open

Support FB & Twitter meta tags for nicer linking #161

nickdos opened this issue Feb 26, 2020 · 1 comment

Comments

@nickdos
Copy link
Contributor

nickdos commented Feb 26, 2020

Similar issue in bie-plugin (issue 120).

See this article for background: https://www.freecodecamp.org/news/how-to-avoid-the-shaming-look-your-site-has-on-twitter-and-facebook-f2e8f4be568d/.

In short, add these meta tags to data resources, collection, institution and data provider pages:

<meta property="og:image" content="http://example.com/logo.jpg">
<meta property="og:image:type" content="image/png">
<meta property="og:image:width" content="1024">
<meta property="og:image:height" content="1024">

plus
og:url, og:type, og:title, og:description for FB.

For Twitter:
twitter:card,twitter:image,twitter:image:alt, twitter:description (note slightly different meta tag syntax)

@RobinaSanderson
Copy link

RobinaSanderson commented Mar 4, 2020

Doesn't need to be done before migration to the new infrastructure.
Add as a requirement in the new system.

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

No branches or pull requests

3 participants