收藏
回答

WeChat Message Redirects to 'Temporary Link Expire

Once the message is received from the WeChat app, if the user clicks on it, they get redirected to the "Temporary Link Expired" page. To send messages, we are using the following API

HTTP request method: POST
https://api.weixin.qq.com/cgi-bin/message/custom/send?access_token=ACCESS_TOKEN
{
    "touser":"OPENID",
    "msgtype":"mpnews",
    "mpnews":
    {
         "media_id":"MEDIA_ID"
    }
}

The message is sent without any issues, but after the user receives it, clicking on the message redirects them to the "Temporary Link Expired" page.

Wechat doc "https://developers.weixin.qq.com/doc/offiaccount/en/Message_Management/Service_Center_messages.html#7"

从微信应用程序收到消息后,如果用户点击该消息,他们会被重定向到“临时链接已过期”页面。要发送消息,我们使用以下 API

HTTP request method: POST
https://api.weixin.qq.com/cgi-bin/message/custom/send?access_token=ACCESS_TOKEN
{
    "touser":"OPENID",
    "msgtype":"mpnews",
    "mpnews":
    {
         "media_id":"MEDIA_ID"
    }
}

消息发送没有任何问题,但用户收到消息后,点击该消息会将其重定向到“临时链接已过期”页面。

微信文档 "https://developers.weixin.qq.com/doc/offiaccount/en/Message_Management/Service_Center_messages.html#7"



回答关注问题邀请回答
收藏

2 个回答

登录 后发表内容