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

[Hint] Open Graph Protocol #3118

Open
Malvoz opened this issue Oct 13, 2019 · 2 comments
Open

[Hint] Open Graph Protocol #3118

Malvoz opened this issue Oct 13, 2019 · 2 comments

Comments

@Malvoz
Copy link
Member

Malvoz commented Oct 13, 2019

I think webhintio/webhintio.github.io#516 warrants a hint for OGP implementations. 😂

The hint would presumably look for:

  • <meta> elements starting with property="og:{...}"
  • and prefix="og: http://ogp.me/ns#" (I think recommendation for the prefix is to be specified in the <html> or <head> elements.)

If at least one of the above exist but doesn't fulfill the minimum requirements (e.g. must include an og:title, an og:image of at least 200x200px with an absolute URL, valid image file formats, not serving larger images than the maximum allowed size etc.) then the check fail.

I can update the list of requirements for the respective social platforms (as described in webhintio/webhintio.github.io#516 (comment)) if you think this should be a hint.

@molant
Copy link
Member

molant commented Oct 14, 2019

@Malvoz yes please, update the list of requirements. Looks like there should be different errors levels depending on what's missing/wrong (error, warning, info, hint). If you have already an idea of what should be each thing please share it.

Thanks!

@Malvoz
Copy link
Member Author

Malvoz commented Oct 19, 2019

Sorry for the delay, for a proper overview of what is required/recommended for developers based on the support across platforms, I created an OGP support & requirements document. But things like formats and correct structure of metadata is explained in https://ogp.me.

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

2 participants