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

dynamic og:title angular2 #14

Closed
giaule opened this issue Feb 10, 2017 · 3 comments
Closed

dynamic og:title angular2 #14

giaule opened this issue Feb 10, 2017 · 3 comments

Comments

@giaule
Copy link

giaule commented Feb 10, 2017

Dear support,

When i using browser that very google (show title), but i using share link facebook, this can't read metadata my site.

Please help me,
Thanks.

@Chuvisco88
Copy link

Hi @giaule

I understand it that you want to copy your url to Facebook for sharing and don't get the meta.
If this is the case the reason is that Facebook is calling the url and directly reads the meta and does not wait until the meta data is initialised by the module as this happens asynchronously.

Probably the maintainer can you provide with more infos, but regarding the initialisation, the only way would be by server-side rendering the meta data.

@fulls1z3
Copy link
Owner

Hi @giaule

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.

As @Chuvisco88 said, currently it seems possible thru server-side rendering.

@giaule
Copy link
Author

giaule commented Feb 14, 2017

Dear support,

So i need to build a server site for this function.

Thanks support.

@fulls1z3 fulls1z3 changed the title Dynamic og:title angular2 [question] dynamic og:title angular2 Mar 2, 2017
@fulls1z3 fulls1z3 changed the title [question] dynamic og:title angular2 [duplicate] dynamic og:title angular2 Mar 16, 2017
@fulls1z3 fulls1z3 removed the question label Mar 16, 2017
@fulls1z3 fulls1z3 changed the title [duplicate] dynamic og:title angular2 dynamic og:title angular2 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

3 participants