WeChat Applet
Mini Program Development
How to solve the problem of mini program failing to obtain user appidHow to solve the problem of mini program failing to obtain user appid

How to solve the problem that the mini program fails to obtain the user's appid?
1. The button to get the phone number reported an error: The acquisition failed and the appId does not have permission
<button open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber">获取手机号 </button>

##Note: Problem The reason is that the current mini program account has not been "WeChat authenticated",

2. Notes on the interface for authorizing the WeChat applet to obtain a mobile phone number:
1. Because the user needs to actively trigger the interface to obtain the mobile phone number, this function is not called by the API and needs to be triggered by clicking on the
The above is the detailed content of How to solve the problem of mini program failing to obtain user appid. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

SecLists
SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

Safe Exam Browser
Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

Atom editor mac version download
The most popular open source editor

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

Dreamweaver CS6
Visual web development tools




