search
  • Sign In
  • Sign Up
Password reset successful

Follow the proiects vou are interested in andi aet the latestnews about them taster

Shake WeChat to upload picture materials

Upload picture material

1475204134265949.jpg

##Interface Description

Upload in Shake The picture materials needed for the one-shake function are stored on the WeChat server. Image formats are limited to: jpg, jpeg, png, gif.

If the picture is displayed on the shake page, the material is an icon type picture. The picture size is recommended to be 120px*120 px, and the limit should not exceed 200 px*200 px. The image needs to be square.

If the picture is a qualification file picture that needs to be uploaded to apply for the shake peripheral function, the material must be a license type picture. The file size of the picture shall not exceed 2MB, and the size is not limited. No limit on shape.


Interface calling instructions

http request method: POST (please use https protocol) https://api.weixin.qq.com/shakearound/material/add?access_token=ACCESS_TOKEN&type=TYPEPOST data format: FORM form
POST data example:
Call example (use curl command to upload a multimedia file using FORM form):
curl -F "media=@IMAGE_NAME"
"https://api.weixin.qq .com/shakearound/material/add?access_token=ACCESS_TOKEN&type=TYPE"

Parameter Description

ParameterIs it requiredDescription
access_token is the calling interface credential
mediaisPicture name
typeNoIcon: the icon picture displayed on the shake page; License: the qualification document that needs to be uploaded when applying for the shake peripheral function; if the type is not passed, the default type=icon


Return instructions Normal return JSON data packet example:

{
"data": {
"pic_url":
"http://shp.qpic.cn/wechat_shakearound_pic/0/1428377032e9dd2797018cad79186e03e8c5aec8dc/120"
},
"errcode": 0,
"errmsg": "success."
}

Parameter Description

参数说明
pic_url图片url地址,若type=icon,可用在“新增页面”和“编辑页面”的“icon_url”字段;若type= license,可用在“申请入驻”的“qualification_cert_urls”字段

Hot AI Tools
Undress AI Tool
Undress AI Tool

Undress images for free

AI Clothes Remover
AI Clothes Remover

Online AI tool for removing clothes from photos.

Undresser.AI Undress
Undresser.AI Undress

AI-powered app for creating realistic nude photos

ArtGPT
ArtGPT

AI image generator for creative art from text prompts.

Stock Market GPT
Stock Market GPT

AI powered investment research for smarter decisions

Popular tool
Notepad++7.3.1
Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version
SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1
Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6
Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version
SublimeText3 Mac version

God-level code editing software (SublimeText3)