Comments (3)
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.
from ngx-meta.
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.
from ngx-meta.
Dear support,
So i need to build a server site for this function.
Thanks support.
from ngx-meta.
Related Issues (20)
- remove lodash peerDependency as it's not needed
- meta tags API call fails HOT 2
- meta doesn't get updated.
- upgrade to Angular 7 HOT 1
- Not fetching meta tags in web master HOT 1
- Make configurable callback exceptions HOT 2
- Default fallback on null instead of error (unless not defined in configuration)
- use with Angular i18n
- Set dynamic meta tags to use api call
- Allow use of ngx-meta in angular 8 project HOT 3
- Do you have any plan to apply for angular8? HOT 2
- Angular v9 support HOT 4
- The title does not display correctly in the browser history
- AOT Compiling Error - Function calls are not supported in decorators but 'MetaModule' was called HOT 7
- @ngx-meta/core Doesn't support Angular 11.X.X HOT 11
- Setting Tags from ts file.
- Linked-In Social Share issue HOT 1
- Uncaught TypeError: Cannot read property 'core' of undefined at ngx-meta-core.umd.js:4 HOT 1
- Angular 11/12 support HOT 6
- after ng update 12 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ngx-meta.