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

Do we need open graph prefix in header? #73

Closed
econdie opened this issue May 30, 2019 · 2 comments
Closed

Do we need open graph prefix in header? #73

econdie opened this issue May 30, 2019 · 2 comments

Comments

@econdie
Copy link
Contributor

econdie commented May 30, 2019

Do you have any insight on if prefix="og: http://ogp.me/ns#" is required in the markup to specify a page using open graph? It shows this on http://ogp.me/ (it includes it in the tag but from some research it has the same effect as assuming all of the meta data is within the head).

I struggle to find a clear answer, I am basically referring to this question: https://stackoverflow.com/questions/48933419/opengraph-prefix-in-header-necessary and if next-seo needs to include this prefix, also depending on the type specified it would include article: http://ogp.me/ns/article# , or profile, book, etc.

I couldn't really find a clear answer if it's required or just suggested, and i looked through several news websites for example that do seem to include this prefix markup. If you have any insight I'd be interested to know, or if you think this should be implemented, appreciate it.

@stale
Copy link

stale bot commented Mar 14, 2020

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the wontfix label Mar 14, 2020
@stale stale bot closed this as completed Mar 21, 2020
@gunar
Copy link

gunar commented Aug 27, 2020

Apparently it is required. At least for LinkedIn. I couldn't get next-seo to make the OG image show up in LinkedIn. This StackOverflow answer tells me to add the prefix to the meta tag. However, I just learned that setting it as an attribute on the html tag works as well:

<html lang="en" prefix="og: http://ogp.me/ns#">

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