Wechat official account to follow and return, how to determine that has been returned to their own page?

problem description

on the page opened by Wechat"s built-in browser, if the user does not follow the official account, a picture of the QR code will be displayed, guiding the user to press the identification QR code to follow the official account for a long time. After the follow is completed, press the phone"s physical back button to return to the page that displays the QR code. Refresh the page at this time to modify whether the user is following it. How can I tell if a user has gone back to his or her own page?

Apr.09,2021

cannot directly get
if you let users follow and then interact with official accounts, there is a way to judge
I don't know if you have ever seen a machine that pays attention to official accounts that can print photos for free. To judge whether to follow is to rely on certain interactions with official accounts


the problem has been solved, talk about your own way. After identifying the QR code, the page automatically goes to the page followed by the official account. After the follow is completed, press the physical back button to return to the page that displays the QR code. At this time, the user information is still not followed. I couldn't figure out how to judge back to this page before, and I couldn't listen to the fallback event, because it was the follow-up page of the QR code. As a result, forget the focus event of window, just listen and trigger this event. When this event is triggered, it is determined whether the QR code image is displayed, and if so, reload the address of the entry and re-obtain the user information to see if it has been followed.


Hello. I want to ask. The page automatically goes to the page followed by the official account, and when the follow is complete, press the physical back button to go back to the page that displays the QR code. How can we know whether the user has followed the official account? Because I might put someone else's QR code here. Will there be a sign of whether or not to follow the return!

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3e14f-2bc30.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3e14f-2bc30.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?