A webpage under a public account can be accessed only when the user pays attention to the public account. how can this problem be solved?-php Tutorial

Source: Internet
Author: User
To make a lucky draw page, after a user shares his or her moments with his or her friends, the user directly clicks and connects to the page. how can this user directly jump to the page of interest if he or she does not pay attention to the user and prompts him to pay attention first? To make a lucky draw page, after a user shares his or her moments with his or her friends, the user directly clicks and connects to the page. how can this user directly jump to the page of interest if he or she does not pay attention to the user and prompts him to pay attention first?

Reply content:

To make a lucky draw page, after a user shares his or her moments with his or her friends, the user directly clicks and connects to the page. how can this user directly jump to the page of interest if he or she does not pay attention to the user and prompts him to pay attention first?

You can use the webpage authorization interface in the public account development to obtain the user access_token and openid, and then call the interface to obtain user information to determine whether the user has been concerned.

You need a service number with "webpage authorization" (the public number does not work) and must be authenticated. you can obtain all the user information after oau2's authorization!

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.