Code Monkey home page Code Monkey logo

Comments (3)

Chuvisco88 avatar Chuvisco88 commented on May 19, 2024

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.

fulls1z3 avatar fulls1z3 commented on May 19, 2024

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.

giaule avatar giaule commented on May 19, 2024

Dear support,

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

Thanks support.

from ngx-meta.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.