search

Home  >  Q&A  >  body text

php - The XML data Eventkey returned by WeChat follow event push is empty

{

"ToUserName": "gh_e94f212035ed",
"FromUserName": "oYXWAuBbfE85hoaJv_zLkm0CvtkU",
"CreateTime": "1494585669",
"MsgType": "event",
"Event": "subscribe",
"EventKey": ""

}

This is the data returned by the follow event triggered by the user following the WeChat service account. Does anyone know why Eventky is empty?
Because that value needs to be used for business logic

The following is the description of the WeChat follow interface

我想大声告诉你我想大声告诉你2799 days ago1183

reply all(2)I'll reply

  • 我想大声告诉你

    我想大声告诉你2017-05-16 13:00:20

    The key you are talking about is a QR code generated by the advanced interface. Without the key, it is an ordinary official account QR code. After scanning both codes, you will be redirected to the official account, https://mp.weixin.qq.com/wiki...

    reply
    0
  • 过去多啦不再A梦

    过去多啦不再A梦2017-05-16 13:00:20

    The correct answer upstairs is that both the permanent QR code and the temporary QR code generated through the advanced interface are numbered. This event_key is the number of the QR code. Users follow or unfollow by scanning the QR code, which is pushed by WeChat. I will bring this event_key

    reply
    0
  • Cancelreply