search
  • Sign In
  • Sign Up
Password reset successful

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

Home Backend Development PHP WeChat public platform developer documentation Modify permanent graphics and text materials

Modify permanent graphics and text materials

Collection 105
Read 40452
update time 2016-09-11

Modify permanent graphic material

1474938925217218.jpg

## Developers can modify permanent graphic and text materials through this interface.

Please note:

1. You can also save graphic messages (permanent graphic and text materials) in the material management module of the official website of the public platform.

2. Calling this interface requires https protocol

Interface call request description

http request method: POST

https://api.weixin.qq.com/cgi-bin/material/ update_news?access_token=ACCESS_TOKEN


Call example

{

"media_id":MEDIA_ID,
"index":INDEX,
"articles": {
"title": TITLE,
"thumb_media_id": THUMB_MEDIA_ID,
"author": AUTHOR,
"digest": DIGEST,
"show_cover_pic": SHOW_COVER_PIC( 0 / 1),
"content": CONTENT,
"content_source_url": CONTENT_SOURCE_URL
}
}

Parameter description

is displayed will be removed here
ParameterIs it necessaryDescription
media_id

is

The id of the graphic message to be modified
index is The id of the article to be updated is in the graphic message Position (this field is only meaningful when there are multiple graphic messages), the first article is 0
title

is

Title
thumb_media_id is the cover image material id of the graphic message (must be a permanent mediaID)
authorisauthor
digestis Summary of graphic messages. Only single graphic messages have abstracts. Multiple graphic messages are left empty.
show_cover_picYesYesNo Display the cover, 0 is false, that is, not displayed, 1 is true, that is,
content is the specific content of graphic message, supports HTML tags, must be less than 20,000 characters, less than 1M, and JS
content_source_url is the original address of the graphic message, that is, the URL after clicking "Read Original"

Return instructions

{
"errcode": ERRCODE,
"errmsg": ERRMSG
}

When correct, the value of errcode should be 0.

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)