WeChat official account-developer-custom menu, public developer

Source: Internet
Author: User

Public Account-developer-custom menu, public developer

I am a beginner. I have read a lot online and are implemented by a third party. Considering the security issues, I am not afraid to use them!

Today, I finally found out the implementation method.

Official api: http://mp.weixin.qq.com/wiki/13/43de8269be54a0a6f64413e4dfa94f39.html

 

Step 1: Select "Developer Center ".

 

2. display the AppSecret and complete display (to be scanned ).

3. Go to "public platform interface debugging tools ",

A. Select "Basic Support"-"Access access_token interface/token ",

B. Fill in "appid" and "secret" (AppSecret ),

C. Click "Check the problem ",

D. "access_token" is displayed in the red line box ".

Https://mp.weixin.qq.com/debug/cgi-bin/apiinfo? T = index

4. Go to "public platform interface debugging tools"

A. Choose "custom menu"> "custom menu Creation Interface/menu/create"

B. Fill in "access_token" (obtained just now)

C. The content format of "body" is as follows:

{"Button": [{"type": "click", "name": "Today's songs", "key": "V1001_TODAY_MUSIC" },{ "name ": "menu", "sub_button": [{"type": "view", "name": "Search", "url": "http://www.soso.com /"}, {"type": "view", "name": "video", "url": "http://v.qq.com/" },{ "type": "click", "name ": "like us", "key": "V1001_GOOD"}]}View Code

D. Click "check problem"

E. errcode: 0 is returned, indicating success.

The end is a rough description.

PS: the "public platform interface debugging tool" serves as a development tool here. You can open only one drop-down menu on the left side of the API, and refresh it to retrieve it. This is a poor experience.

Related Article

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.