现在拿不到unionid了吗?

小程序 文章 2022-01-08 20:00 305 0 全屏看文

AI助手支持GPT4.0

现在拿不到unionid了吗?Can't get unionid now?

现在拿不到unionid了吗?

获取用户个人信息(UnionID机制)


接口说明


此接口用于获取用户个人信息。开发者可通过OpenID来获取用户基本信息。特别需要注意的是,如果开发者拥有多个移动应用、网站应用和公众帐号,可通过获取用户基本信息中的unionid来区分用户的唯一性,因为只要是同一个微信开放平台帐号下的移动应用、网站应用和公众帐号,用户的unionid是唯一的。换句话说,同一用户,对同一个微信开放平台下的不同应用,unionid是相同的。请注意,在用户修改微信头像后,旧的微信头像URL将会失效,因此开发者应该自己在获取用户信息后,将头像图片保存下来,避免微信头像URL失效后的异常情况。

Description of the interface for obtaining user personal information (unionid mechanism). This interface is used to obtain user personal information. Developers can obtain basic user information through openid. It should be noted that if the developer has multiple mobile applications, website applications and public accounts, the user's unionid can be distinguished by obtaining the unionid in the user's basic information, because as long as it is a mobile application, website application and public account under the same wechat open platform account, the user's unionid is unique. In other words, the same user has the same unionid for different applications under the same wechat open platform. Please note that after the user modifies the wechat avatar, the old wechat avatar URL will become invalid. Therefore, the developer should save the avatar image after obtaining the user information to avoid abnormalities after the wechat avatar URL becomes invalid.

回答:

Mr.Zhao:

你绑定开放平台了?

老张:

从问题文字上得出:你"以前"得到过unionid?

所以,现在还和以前一样,没有变。

brave:

在开放平台 open.weixin.qq.com 下绑定了?

-EOF-

AI助手支持GPT4.0