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

facebook for example cannot read the OG Tags #9

Closed
masaanli opened this issue Jan 2, 2017 · 1 comment
Closed

facebook for example cannot read the OG Tags #9

masaanli opened this issue Jan 2, 2017 · 1 comment

Comments

@masaanli
Copy link

masaanli commented Jan 2, 2017

I'm submitting a ... (check one with "x")

[x] bug report => check the README and search github for a similar issue or PR before submitting
[ ] support request => check the README and search github for a similar issue or PR before submitting
[ ] feature request

Current behavior

Expected/desired behavior

Facebook is not recognising the settee OGP tags.

Minimal reproduction of the problem with instructions

Tried already some stuff but did not get it to work, like adding this to my head tag <head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# article: http://ogp.me/ns/article#">

Can it be because it's loaded later? If Facebook, Twitter and other sites cannot read the OG tags?

Having this tags inside my head:

<meta property="og:title" content="Productname · Websitename"><meta name="description" content="description comes here.">
<meta property="og:description" content="Site description comes here.">
<meta property="og:image" content="http://test.com/assets/images/logo.png">
<meta property="og:type" content="website">
<meta property="og:locale" content="nl_NL">
<meta property="og:locale:alternate" content="en_US">
<meta property="og:url" content="http://test.com/product/2x-bsecret-honing-bal"></head>

What is the motivation / use case for changing the behavior?

Please tell us about your environment:

MacOSX, IIS

  • Angular version: 2.0.X

CLI 24

  • Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

Chrome, Safari

  • Language: [all | TypeScript X.X | ES6/7 | ES5]
    Typerscript

  • Node (for AoT issues): node --version = 6.9.1

@fulls1z3
Copy link
Owner

fulls1z3 commented Jan 5, 2017

Hi @masaanli

Thanks for your interest in ng2-metadata, and sorry for the late reply.

As mentioned in #4:

Generated metadata is not currently accessible by bots except Google crawler. For now, the only method to generate meta tags at the server-side in order to be crawl-able by bots such as facebook.

However, I'm keeping track of developments with those crawlers/bots and will publish updates as things become available.

Please check the README and search github for a similar issue or PR before submitting.

@fulls1z3 fulls1z3 closed this as completed Jan 5, 2017
@fulls1z3 fulls1z3 changed the title Facebook for example cannot read the OG Tags [question] facebook for example cannot read the OG Tags Mar 2, 2017
@fulls1z3 fulls1z3 changed the title [question] facebook for example cannot read the OG Tags [duplicate] facebook for example cannot read the OG Tags Mar 16, 2017
@fulls1z3 fulls1z3 removed the question label Mar 16, 2017
fulls1z3 pushed a commit that referenced this issue Apr 20, 2017
fulls1z3 pushed a commit that referenced this issue Apr 20, 2017
@fulls1z3 fulls1z3 changed the title [duplicate] facebook for example cannot read the OG Tags facebook for example cannot read the OG Tags Sep 16, 2017
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