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

Fix metadata so shares on twitter / yammer / other places look nice #353

Open
andylolz opened this issue Jun 24, 2019 · 3 comments
Open
Labels
good first issue Good for newcomers

Comments

@andylolz
Copy link
Contributor

andylolz commented Jun 24, 2019

#192 added metadata, but there are some issues with it that mean shares aren’t quite right.

You can debug the open graph metadata using the facebook linter. For example:
https://developers.facebook.com/tools/debug/sharing/?q=https%3A%2F%2Fiatistandard.org%2Fen%2Fnews%2Fsubmit-bids-for-iati-data-use-fund%2F

There are a couple of warnings shown. The protocol is missing from og:url, and the base URL is missing from the og:image.

@andylolz
Copy link
Contributor Author

Similarly, the twitter card validator shows that the twitter:image needs to be an absolute URL.

@andylolz
Copy link
Contributor Author

andylolz commented Aug 7, 2019

Fixed in #367.

@andylolz andylolz closed this as completed Aug 7, 2019
@andylolz
Copy link
Contributor Author

andylolz commented Sep 10, 2019

#367 has now been deployed (which is great) but it didn’t quite fix the problem.

Looks good on twitter:
Screenshot 2019-09-10 at 12 53 13

…but the image used in this facebook example still doesn’t show, because it’s too small. Perhaps social_share_image_url should be a bit bigger?

Provided og:image URL, https://iatistandard.org/media/images/duf1.width-320.jpegquality-60.png was not valid because it did not meet the minimum size constraint of 200px by 200px.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants