How does the WeChat official account provide users with the file download function?

If the official account wants to publish articles, it is inevitable that there will be times when it is necessary to provide file download functions for the official account users. For example, the company publishes a recruitment article on the official account, and a large amount of space is introduced to introduce the job requirements. Fans and users can't grasp the key points, and they can't retrieve the job information they want.

Therefore, in the actual typesetting, it is a wise choice to provide fans with an attachment for users to download independently. As we all know, the official account itself does not support directly uploading files in the article, we can use a small program to achieve this requirement.

We only need to upload the file to the article attachment website, get the direct link generated by the system for the file, and then paste the direct link into the image and text of the official account.

Detailed steps/tutorials:

Step 1: Open the article attachment website with a computer browser. After the file is uploaded, the system will automatically generate a direct link for the file.

 Step 2: In the corresponding file record, click the copy button in the direct link column to copy the direct link of the file.

Step 3: Go back to the background of the official account, place the mouse on the appropriate position of the article in the graphic content being edited, and paste the direct link of the file.

After pasting the direct link, there will be an additional line of attachment title in blue font in the article, which means that the attachment link has been added. We can use the preview function provided by the official account to send the article to the mobile phone for preview to check whether the file is normal. download.

Many students are accustomed to using third-party editors such as Xiumi to typesetting official account graphics and texts. Direct links cannot be pasted directly into third-party editors. We can import articles into the official account’s own editor In the browser, repeat the above steps for adding attachments.

Xiumi also provides a method to add applets, and you can also add attachments to Xiumi tweets through the "mini-program text component" provided by Xiumi. We click "Components" - "Official Account Components" on the menu on the left side of Laimi, and scroll to the bottom to find the text component of the Mini Program. Drag the text component of the Mini Program into the article, and then set it according to the figure below.

As for the APPID and path required by the component, you can find it on the website, and you can find it by looking at the picture below:

One thing that needs to be explained is that Xiumi also provides an article preview function. Due to the lack of necessary WeChat environment support, file links cannot be opened in Xiumi. This is a normal phenomenon. To be on the safe side, you can export the edited article, paste it into the official account's own editor, and use the official account's own preview function to check it to make sure nothing goes wrong.

Guess you like

Origin blog.csdn.net/llh973168/article/details/130073072