search

Home  >  Q&A  >  body text

java - android应用微信分享成功后,如何通过分享的链接获取点击链接的微信用户的OpenId?

一款app接入了微信分享好友的功能(开放平台),在成功分享链接之后,当被分享的好友打开这个链接的时候,如何获取到这个好友的微信号的openId?求大神指教。

巴扎黑巴扎黑2818 days ago1006

reply all(2)I'll reply

  • 迷茫

    迷茫2017-04-17 17:30:37

    It is impossible for WeChat to call back such important data as a friend’s openId to a third-party user. Moreover, not every WeChat account has an openId. Only when it is connected to an open platform will it have an openId. Therefore, I guess the data the questioner wants to get is uid, which is also impossible

    reply
    0
  • 怪我咯

    怪我咯2017-04-17 17:30:37

    You only need to perform WeChat silent authorization when opening this link, and you can get the WeChat openid.

    reply
    0
  • Cancelreply