Small program APPID can open the small program on the mobile phone, click the three dots in the upper right corner:
Then click the name of the applet in the middle to enter the applet introduction page:
After clicking "More Information", enter the page and you can see APPID on the top:
Another way:
Log in to your Mini Program account on the WeChat public platform: WeChat public platform
View appid and AppSecret in development management/development configuration