search

Home  >  Q&A  >  body text

javascript - Request: facebook share demo

I shared this product on the product details page and saw some examples shared on Facebook

It’s all done through meta

Because the website is a single-page application, do I have to manually modify and add meta every time?

This is my first time doing this, I don’t quite understand it

Please give me a demo

过去多啦不再A梦过去多啦不再A梦2778 days ago631

reply all(1)I'll reply

  • 漂亮男人

    漂亮男人2017-05-16 13:36:34

    That’s Facebook’s sharing format. You need to add some sharing information to the meta, such as your customized image title, otherwise it will be automatically taken from the page.

    When doing it specifically, you can click Share, and then use js to add information or modify information to the meta.

    reply
    0
  • Cancelreply