Development and debugging course of micro-credit public platform

Source: Internet
Author: User
Tags cdata integer

Tips: The tools provided in this article please use the Chrome browser or download Firefox browser, because most high-end development no longer support IE (or IE8 the following browsers)

First, micro-trust public platform interface Debugging tools

Enter Address https://mp.weixin.qq.com/debug/,

Select the type to debug in the interface type, debug basic message here so select message interface debugging

List of interfaces, select the type you want to debug, as an example of a text message

Here is mainly to fill in the URL and content,

URL is our own development of the interface address, content is to send this interface address text message content,

Here is a fill in the following:

url:http://discuz.comli.com/test.php
Content: Square Times Studio

The following other parameters can be easily filled in, because we are just testing the content,

* Tousername: Developer Micro-signal
* Fromusername: Sender account (an OpenID)
* Createtime: Message creation time (integer)
* MSGID: Message type (message id,64-bit integer)

If you do not know what to fill in, you can take the following XML data to fill in

<xml>
<tousername><! [cdata[gh_82479813ed64]]></tousername>
<fromusername><! [cdata[ojpx_jig-gyi3_q9fhxq4rdhniqs]]></fromusername>
<CreateTime>1412079737</CreateTime>
<msgtype><! [cdata[text]]></msgtype>
<content><! [Cdata[Square Times Studio]]></content>
<MsgId>6064836289959967853</MsgId>
</xml>

After filling, as shown below

Click the "Check Problem" button

The last line prompts for a successful request, indicating that the data was sent to receive successfully, and that the returned data can be reconciled with its own program interface.

Second, the use of web version of micro-letter debugging

In the browser open the Micro-mail page version address https://wx.qq.com/, the page shows a two-dimensional code

Using the scanning function of the micro-letters in the phone, scan the two-dimensional code, and then the micro-mail on the phone will display the following

Click on the "Login Web version micro-letter" button, the phone shows the following

You can see the word "Web micro-signed" at the top.

and the browser will appear and mobile version of the micro-letter interface, double-click Open the need to debug the public account, send the corresponding keyword to test it. As shown below

Three, square times micro-letter Debugger

Micro-Letter Debugger is a square-times studio developed for the micro-trust platform Interface development and debugging tools, with token calibration, simulation concerns and cancellation of attention, send text/Picture/voice/video/location/link, analog event forwarding and other functions. Its prototype is the emulator of micro-engine.

The micro-letter debugger does not currently support the use of IE browser, please download the Chrome browser or download the Firefox browser.

The address of the micro-letter debugger is http://debug.fangbei.org/.

Its interface is as follows

How to use

1. Token check

In the URL input box and token input box, respectively, fill in the micro-letter public account interface URL and token,

Click on the "token Verify" button, if the token checksum succeeds, will prompt the validation success message box, if token checksum fails, will prompt the validation failure message box.

2. Message Sending

Selecting a message type, such as text, lists the parameters for the message type, fills in the parameters of the parameter to be sent, and then clicks the Send Message button.

The sent XML is displayed in the Send message box, and the received XML data will be displayed in the Receive message box.

The micro-effect preview is also displayed on the right.

Related Article

E-Commerce Solutions

Leverage the same tools powering the Alibaba Ecosystem

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

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.