Using WeChat Public Account web page authorization to migrate public accounts to fans (I) ideas, public fans

Source: Internet
Author: User
Tags openid

Using Public Account web page authorization for public account fan migration (I) ideas, public fans

Sometimes, the public number we operate may need to be changed for some reason, such as the company being acquired and the transfer of the public number.

The fans of the original public account naturally want to migrate them to the new public account. The general practice is to use the built-in fan transfer function.

However, there are also a lot of procedures, and the audit fee of 300 yuan is required. The most terrible thing is that if your public account platform provides some systems, users' data on the system cannot be migrated,

Such as user level, balance, relationships with other users, orders, etc. After all, the user's openId is different for each public account. Of course, if the system was originally designed

The UnionId mechanism is not so troublesome, but you need to bind the public account to the open platform.

Let's take a look at how to migrate the public account through the webpage authorization mode. Let's talk about the solution and the source code in the future.

 

Step 1: Prepare for receiving the new public account.

We know that after webpage authorization, we can obtain the openId, nickname, and other related information of fans. We will focus on the user's openId for migration.

First, we receive a parameter openId from the old platform, and then connect the database of the old platform on the new platform to find out the user information, because when the new user jumps to the new platform,

We can obtain the user's information, register an account for the user again, and log on automatically. Therefore, the old user information we obtain can be updated to the users on the new platform.

Including its level and balance.

Step 2: add a link to the member center of the old public account platform to jump to the new platform, and add the openId parameter of the old platform.

After this jump to the new platform, everything will naturally be transferred to the new platform.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.