Douyin account matrix system source code development - video release function development

        Video release permission was a controversial function at the beginning of the account matrix system development. The name of the video release permission we used before was Video.creat, video.delete permission, but this permission was changed in October 2022 It was retracted, and then a capability called posting content to Douyin: H5 scene h5.share was put on the shelves. Compared with the previous capabilities, this capability is one-click non-sense release, and the other is user-perceived non-sense release. The launch of the function has little impact on the popular store code products, but it has a relatively large impact on the matrix system, because it means that one-click release through the backend cannot be done.

    However, the editor also understands that many companies have the need for matrix publishing, so through various technical means, one-click publishing can be realized through the creator center to meet the needs of enterprise customers, but the disadvantages of this method are: account authorization The validity period is short, and it is easy to lose the number.

    But recently, the official action has been frequent, and the ability to release videos on behalf of users has been launched, which means that one-click release and stable functions can be realized through the official official API interface as before. The usage scenarios of this function are described as follows:

Developers can post videos or gallery content to Douyin through the server interface instead of users.

Development description of this function: This capability supports the website application to help the account publish Douyin content through the API interface after obtaining the authorization of the Douyin account. Only official website application applications are supported. The main body of the developer must be an enterprise, party and government agency or institution. It is only used in the ToB scenarios of the "Government Media" management platform and "Enterprise Service". When using an account, it is not allowed to expose background capabilities, authorization codes, and related functions to ordinary users online or offline.

 

Access guide:

This interface is used to publish pictures on Douyin (supporting topics, applets, etc.); this interface is applicable to Douyin .

usage restrictions

  • Douyin's OAuth API starts with https://open.douyin.com/.
  • Call to /api/douyin/v1/video/create_image_text/post pictures to Douyin. There will be a review process during which only you can see it.
  • A single picture supports a maximum of 20M, and a maximum of 30 pictures can be uploaded each time
  • At present, the graphics and text interface is released, supporting two types of anchor points, including: applet and poi. Carrying multiple types of anchors is not supported .

Interface Description

none

Basic Information

name

describe

HTTP URL

https://open.douyin.com/api/douyin/v1/video/create_image_text/

HTTP Method

POST

Scope

video.create.bind

permission request

  • Request permission is required. path:
    • Mobile/web application: Douyin Open Platform Console > Application Details > Capability Management > Capability Lab > Apply for permission to post content to Douyin on behalf of users
  • User authorization required

request header

name

type

required

describe

content-type

string

yes

Fixed value "application/json"

access-token

string

yes

Call the token generated by /oauth/access_token/, which requires user authorization. Example:act.1d1021d2aee3d41fee2d2add43456badMFZnrhFhfWotu3Ecuiuka2******

code display

Guess you like

Origin blog.csdn.net/buda_l/article/details/130852833