WeChat Mini Programs could not open the page when she shared it with her friends, saying that it had expired.

problem description

WeChat Mini Programs cannot open the page when sharing with friends, saying that it has expired

the environmental background of the problems and what methods you have tried

related codes

/ / Please paste the code text below (do not replace the code with pictures)

   onShareAppMessage:(res)=>{
    return {
      title: "",
      path: "/pages/guide/guide?id=3",
      imageUrl: "../../images/userimg.jpg",
      success: (res) => {
        console.log("", res);
      },
      fail: (res) => {
        console.log("", res);
      }
    }

}

what result do you expect? What is the error message actually seen? !



A rookie asks for advice

Apr.09,2021

have you tried to re-scan the developer's tools?

Menu