Home >WeChat Applet >WeChat Development >10 recommended courses on C# WeChat public platform development

10 recommended courses on C# WeChat public platform development

巴扎黑
巴扎黑Original
2017-06-15 09:49:552238browse

1. Problems that need to be solved in order to realize the advanced group sending function 1. When uploading graphic message materials through the WeChat interface, the image in Json is not the URL but the media_id. How to upload the image through the WeChat interface and obtain the media_id of the image? 2. Where are the pictures stored and how to obtain them? 2. Implementation steps, taking mass sending of graphic messages based on the OpenID list as an example 1. Prepare data I store the data in the database, and the ImgUrl field is the relative path of the image on the server (the server here is my own server, not WeChat's) ). Get the data from the database and put it into the DataTable: DataTable dt = ImgItemDal.GetImgItemTable(loginUser.OrgID, data); 2. Upload the image through the WeChat interface and return the media_id of the image. Get the ImgUrl field data and obtain the image on the server through the MapPath method. Physical address, use the FileStream class to read the image, and upload it to WeChat HTTP upload file

1. C# Advanced mass sending interface developed by WeChat public platform

10 recommended courses on C# WeChat public platform development

Introduction: This article mainly introduces the relevant information of the advanced group messaging interface developed by C# WeChat public platform in detail. Friends who need it can refer to it.

2. C# WeChat public platform development—advanced group messaging interface

10 recommended courses on C# WeChat public platform development

##Introduction: This article mainly introduces the C# WeChat public platform development-advanced group sending interface

3. C#WeChat public platform development access_token acquisition, storage and Update

10 recommended courses on C# WeChat public platform development

Introduction: This article mainly introduces the acquisition, storage and storage of access_token in C# WeChat public platform development For updated related information, friends who need it can refer to

[Related Q&A recommendations]:

The above is the detailed content of 10 recommended courses on C# WeChat public platform development. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn