java - android应用微信分享成功后,如何通过分享的链接获取点击链接的微信用户的OpenId?
巴扎黑
巴扎黑 2017-04-17 17:28:37
0
2
997

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

巴扎黑
巴扎黑

reply all(2)
迷茫

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

刘奇

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

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template