Solving the problem of QR code in WeChat

Source: Internet
Author: User
Keywords Php
There is a scenario in development where the user publishes an activity information now how to turn this activity into a QR code to share to a friend circle and then another user scanned the QR code to participate in the activity did not pay attention to the public number of the scan can be concerned and then can participate in the release of the event. Ask the Great God for answers

Reply content:

There is a scenario in development where the user publishes an activity information now how to turn this activity into a QR code to share to a friend circle and then another user scanned the QR code to participate in the activity did not pay attention to the public number of the scan can be concerned and then can participate in the release of the event. Ask the Great God for answers

First you need to create a QR code ticket, this official document has to explain what kind of parameters to pass, here is to say that scene_id can be defined by themselves, but limited to the number
Then is through the ticket exchange QR code, this QR code you can use to share the circle of friends, and then the user scanned the QR code, not the attention will prompt to pay attention to, and then there will be identified by the QR code information and user OpenID push to the server, you can according to obtain the Scene_ The ID pushes the corresponding information. Do a series of operations on the user information obtained

This can be achieved by generating a two-dimensional code with parameters.
Http://mp.weixin.qq.com/wiki/18/167e7d94df85d8389df6c94a7a8f78ba.html

  • 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.