WeChat public platform Message Interface Development (8) Xiaohuang chicken (Xiaoji chicken) robot

Source: Internet
Author: User
Public platform Message Interface Development (8) Xiaohuang chicken (Xiaoji chicken) robot

Public platform Message Interface little yellow chicken little cheap chicken robot
By http://www.cnblogs.com/txw1958/

Original article: http://www.cnblogs.com/txw1958/archive/2013/02/07/weixin-if8-simsimi.html


This system tutorial uses the weather god (WeatherGod account) on the public platform to query geographical locations, including weather names, pinyin, simple spelling, area codes, zip codes, and voice trigger modes of nearly 2500 cities in China, the image recognition technology and speech recognition function (developed) are used as examples to explain the interface development process. You are welcome to follow this account and check the local weather. for the QR code, see the bottom.

I. simulate request data

Let's take a look at the Web page of chicken

We can achieve this by simulating http requests. the preceding dialog packet capture is as follows:

Message sending package

Message receiving package:

Based on the preceding package, initiate a request as follows:


2. interconnection

Little Yellow chicken can also be called using APIs, but the free time is limited. the code is basically the same as above, so it won't be much written.


III. demonstration results

Bytes --------------------------------------------------------------------------------------------------------------------------

FollowWeather God(Account WeatherGod) method:

1. enter the following paths in sequence:Friends> Add friends->Search number, InputWeatherGod, Case insensitive. clickSearchAnd then clickFollow.

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.