# User Management
# UnionID Mechanism Dxplaination
After a follower makes a message interaction with Service Account, the service can acquire the follower's OpenID (encrypted WeChat number, and each user's OpenId is unique to each service.For different service numbers, the openid of the same user is different).The service number can get basic user information according to OpenID by to get basic user information, including language and attention time.
Please note that if the developer has access to multiple Service Account, or service number, Mobile App, Weixin Mini Program,Delivery Assistant, Website App, WeChat, Delivery Assistant and Website App, and WeChat open.weixin.qq.com ) bind the service number before using the UnionID mechanism to meet the above requirements.
# User ID Dxplaination
There are two user identity tags, openid and unionid
Openid is a user's identity tag for an application (Service Account). The same WeChat user has different openid for different applications (service number).
A unionid is a WeChat user identifier for an open platform.If the developer has multiple Mobile App, Website App, and Weixin Mini ProgramThe user's unionid can be distinguished by obtaining the user's basic information by obtaining a unionid in the user''s essential information, because as long as the mobile apps, website apps and Mini Programs, small stores and delivery assistants under the same WeChat open platform account, the user' unionid is unique.
Quick Notes Formula:
微信用户 + 服务号 AppID = openid
微信用户 + 开放平台账号 = unionid
That is, as long as the Service Account AppID does not change, openid does not change.As long as the open platform account tied to the service number does not change, the unionid will not change.
Please note:
From June 8, 2020, users started paying attention to the source "WeChat advertisement (ADD_SCENE_WECHAT_ADVERTISEMENT)" from "OTHERS" and no longer output profile pictures or nickname information after December 27, 2021.
List of interfaces:
Get basic user information: Click here to view interface documentation
Bulk access to basic user information: Click here to view interface documentation
# List of interfaces
# Label Management
Interface Name | English name | Request Path |
---|---|---|
Get a list of fans under the tag | getTagFans | /cgi-bin/user/tag/get |
Get a label | getTags | /cgi-bin/tags/get |
Create a tag | createTag | /cgi-bin/tags/create |
Edit labels | updateTag | /cgi-bin/tags/update |
Delete the tag | deleteTag | /cgi-bin/tags/delete |
Cancel labels for users in bulk | batchUntagging | /cgi-bin/tags/members/batchuntagging |
Label users in bulk | batchTagging | /cgi-bin/tags/members/batchtagging |
Get a list of users' tags | getTagidList | /cgi-bin/tags/getidlist |
# User Information
Interface Name | English name | Request Path |
---|---|---|
Cancel blocking users | batchUnblacklist | /cgi-bin/tags/members/batchunblacklist |
Get a blacklist list for Service Account | getBlacklist | /cgi-bin/tags/members/getblacklist |
Get basic user information | userInfo | /cgi-bin/user/info |
Get basic user information in bulk | batchUserinfo | /cgi-bin/user/info/batchget |
Get a list of subscribers | getFans | /cgi-bin/user/get |
Disable users | batchBlacklist | /cgi-bin/tags/members/batchblacklist |
Set user backup name | updateRemark | /cgi-bin/user/info/updateremark |