WeChat Mini Programs shares with friends, how can friends get information about sharers?

look at the online code is written like this

Page({

  data: {
  },

  onLoad: function () {
    wx.showShareMenu({
      withShareTicket: true,
      success: function (res) {
        // 
        console.log(res)
      },
      fail: function (res) {
        // 
        console.log(res)
      }
    })
  },
  onShareAppMessage: function () {
    return {
      title: "",
      path: "/page/index/index?id=123",
      success: function (res) {
        console.log(res.shareTickets[0])
        wx.getShareInfo({
          shareTicket: res.shareTickets[0],
          success: function (res) { console.log(res) },
          fail: function (res) { console.log(res) },
          complete: function (res) { console.log(res) }
        })
      },
      fail: function (res) {
        // 
        console.log(res)
      }
    }
  }
})

however, when I forwarded it to my friends, I reported an error and found that there was no res.shareTickets attribute at all. Later, I took a look at how this code should be organized only when it was transferred to the group. I feel that the API of Mini Program"s official website is not detailed. Urgent ~

if you do not use the getShareInfo () method, you can only pass the forwarder id as a parameter, and then go to the forwarded page to query the forwarder"s information.

Mar.20,2021

onShareAppMessage: function (res) {

return {
  title: '',
  path: '/page/user?id=123'// onLaunchonShow
}

},

tickets this is shared by the group, and you can get some information about the group


now there is no callback for Mini Program sharing. So no matter whether you share it to an individual or a group, you can't get the information

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b39f28-2c1c9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b39f28-2c1c9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?