Summary of short video seo matrix developers
Short video seo is mainly based on the Douyin short video platform, which can realize multi-account management, video distribution, video batch editing, Douyin applet building, enterprise private domain conversion, etc. for enterprises. This article mainly introduces short video matrix system + Douyin applet development Details and Notes
TikTok applet development and debugging:
Small program development mainly refers to writing code in the IDE, including front-end development and back-end development. For the development process, please refer to the rapid development of applets .
prerequisite
- Development preparation has been completed .
- Have understood the runtime , directory structure , and code composition of applets .
Front-end development
According to actual scenarios and needs, select frameworks , components , and APIs , and complete the front-end development of small programs in the IDE .
backend development
The small programs developed by the front-end are actually "static". Once the page is refreshed, it will return to the initial state, and it cannot directly access open capabilities such as payment.
If you want to develop a "dynamic" and complete applet, you also need to complete the back-end service development. During the back-end development process, various OpenAPIs provided by the server can be used .
You can also use Douyin Cloud to develop, host, operate and maintain the back-end services of small programs.
debugging
During development, you can debug in the IDE's simulator .
Since the emulator does not yet support all APIs, it may be necessary to use real device debugging to confirm the actual operation of the applet.
Short video seo matrix system + Douyin applet development
The TikTok applet is integrated with the development of the short video SEO matrix system to deeply understand the needs of enterprise users. The functions include but are not limited to: Douyin applet registration, account authorization binding, video batch editing, work release under the account, and basic information configuration of the applet , Mini Program version review, Mini Program page configuration, Mini Program function development, Mini Program video mounting, etc. While it is convenient for users to create content, they can also obtain clue information and data analysis reports of applets in a timely manner.
Template-based function development can quickly help users build small programs. Of course, in the development process, developers also need to think carefully and fully understand user needs and user experience.
Development code display
interface list
API name |
API type |
API description |
interface documentation |
user authorization |
JSAPI |
Guide users to authorize camera functions |
|
video camera |
JSAPI |
Call up the video camera, and you can set anchor text, video topic and other information, and you can also get video cover image and other information |
|
Publish Douyin video |
JSAPI |
Publish the video in the Mini Program to Douyin |
|
Apply for the self-mounting capability of short videos |
OpenAPI |
Self-developed developers can apply for live streaming self-mounting capabilities through this interface |
|
Query the application status of the mount capability |
OpenAPI |
Self-developed developers can query the application status of the ability through this interface |
|
Bind Douyin account |
OpenAPI |
Self-developed developers can apply for binding the Douyin account associated with this capability through this interface |
|
Get the QR code of Douyin |
OpenAPI |
Self-developed developers can obtain the QR code bound to the Douyin account through this interface |
|
View Douyin account binding list |
OpenAPI |
Self-developed developers can view the list information of bound Douyin accounts through this interface |
|
Unbound Douyin account |
OpenAPI |
Self-developed developers can cancel the relationship with the bound Douyin account through this interface |
|
Substitute access to short video/live broadcast autonomous mount capability |
OpenAPI |
This interface is provided for service providers, and supports service providers to apply for and manage short video/live broadcast autonomous mounting capabilities on behalf of merchants. |
$row = self::$register_model->getRow(self::$sr_where);
if ($row) {
// $row['status'] = 3;
$thirdInfo = $this->getCateById($row['sr_category_code']);
$secondInfo = $this->getCateById($thirdInfo->Spid);
$firstInfo = $this->getCateById($thirdInfo->Fpid);
$row['cate_name'] = $firstInfo->Name . '-->' . $secondInfo->Name . '-->' . $thirdInfo->Name;
$row['sr_registered_province_name'] = $this->area_obj->findCityNameByCode($row['sr_registered_province_code'])[0]['aa_name'];
$row['sr_registered_city_name'] = $this->area_obj->findCityNameByCode1($row['sr_registered_city_code']);
$province_id = $row['sr_province_id'];
$city_id = $row['sr_city_id'];
$third_id = $row['sr_category_code'];
$second_id = $thirdInfo->Spid;
$first_id = $thirdInfo->Fpid;
} else {
$province_id = 0;
$city_id = 0;
$third_id = 0;
$second_id = 0;
$first_id = 0;
}
$this->output['third_id'] = $third_id;
$this->output['second_id'] = $second_id;
$this->output['first_id'] = $first_id;
$this->output['province_id'] = $province_id;
$this->output['city_id'] = $city_id;
$this->output['row_info'] = $row;
$this->displaySmarty('dydqtshoppc/register/register.html');