search

Home  >  Q&A  >  body text

javascript - WeChat sharing static page interface how to obtain four values

1. When sharing static website pages on WeChat, thumbnails and titles are not displayed


There is a problem in obtaining the four data. Can the static page be obtained?

PHP中文网PHP中文网2772 days ago1071

reply all(3)I'll reply

  • 给我你的怀抱

    给我你的怀抱2017-06-12 09:31:58

    Cross domain is not allowed

    需要后端合作

    reply
    0
  • 女神的闺蜜爱上我

    女神的闺蜜爱上我2017-06-12 09:31:58

    These four parameters require you to request the backend first. After obtaining the parameters according to the key and secret provided to you, you can call the WeChat jssdk interface. In addition, you can download the WeChat debugging tool. Each time the page is refreshed, you will be informed of the generated parameters and the result of calling the parameters.

    reply
    0
  • 天蓬老师

    天蓬老师2017-06-12 09:31:58

    The front end needs to send a request to the backend, and the backend will return the official account appId, timetamp, nonceStr, and signature to you. For specific configuration, please check https://mp.weixin.qq.com/wiki...

    reply
    0
  • Cancelreply