»WordPress»Weauth Login: Install the WeChat login plug-in that can be used immediately
Through the use of WeChat applet, saving the nation by curve, WeChat can quickly log in to the website, and can be used after installation
preface
Nowadays, social login is popular on websites, but it is very difficult to apply for QQ login and WeChat login after Yunluo's inspection, so Yunluo has created a WeChat login plug-in based on small programs, which can quickly make websites have WeChat login functions.
use
For actual use, please click the surface motion diagram
After the plug-in is activated, a page will be automatically created. The name is [WeChat Login], and the alias is [wx login]. This page is the login page for WeChat login. As shown in the above figure, you can directly click the Generate QR Code button in the middle of the page to generate the QR code. WeChat code scanning requires authorization for the first time, and then it will succeed. Then a prompt will pop up to remind you that the login was successful, and the page will be refreshed.
to configure
Plug in has only two settings, one is mandatory WeChat login, the other is button color
Button Color
Development call
This plug-in is a new login page by default. You will modify the code when entering the palace. In fact, you can add login buttons elsewhere, just add the following code to the PHP code of the corresponding location
<? echo wl_login_btn();?>
Such as home page
Another example is the article page
problem
Q: Are there any restrictions on using plug-ins?Do I need a WeChat developer account to use the plug-in? A: Website needs to support HTTPS!Just click Enable, no WeChat developer account is required! Q: Need to buy?how much? A: It is a very convenient plug-in, which can be used on any website. It is purchased for a fee,25 yuan Q: I accidentally deleted the login page I created. Now it's gone. What should I do? A: Disable the plug-in, and then re enable it Q: Does the purchased plug-in code have a password?What are the restrictions? A: Plug in file, one PHP, one js file, lightweight plug-in, no encryption, no binding, as long as the plug-in code is not disclosed Q: Why is a small program after scanning the code?Are instructions for use followed by authorization? A: This plug-in uses the weauth applet program to log in to WeChat. After authorization, do not click the instructions immediately after waiting. It will automatically become the "Confirm Login" button. Click "Confirm"
Plug in download
If you have problems with the use, you can contact Yunluo at any time
@Mr. HanSeen from the front end, there is no problem. It should be your back end server settings. The server should not block anything. I will go back to check for you in the evening to see if my website can log in normally. If so, the plug-in is a problem
This Weauth Login WeChat login plug-in looks easy to use and costs only 20 yuan.Although there are other login plug-ins on the network, they need to have their own public account and many other restrictions. Although Xunhu has a free public account, there are advertisements when logging in. If you want to go to the advertisement, you need to pay for it. It is still a package.I have just experienced the code scanning login. I found that the weauth access instructions are displayed quickly, but the login confirmation is loaded slowly. I clicked the instructions several times and missed the login confirmation.This point may need to be explained to users after the website is accessed.
After payment, download and install, and prompt Fatal error: Cannot redeclare get_weauth_token() (previously declared in/data/home/syu7239730001/htdocs/wp content/themes/Get alpha/include/server. php: 272) in/data/home/syu7239730001/htdocs/wp content/plugins/201910140335572/weauth.php on line 112
According to the process of Weauth (isdot dot net), I feel that there is a problem in the third step. In this step, the platform can forge user information to log on to the website~~Of course, it depends on the trust of everyone in Weauth.