Can WeChat Mini Programs, WeChat Official Accounts, and H5 jump to each other?

Author: Wang Jiaojiao
Time: October 10, 2017

Without further ado, let's go directly to the text.

1. Mini Programs and Public Accounts

The answer is: can be related to each other .

You can add mini programs to your WeChat official account.

The picture is a bit small, let me type out the text:

You can associate an existing applet or quickly create an applet. The associated applet can be used in scenarios such as custom menus and template messages.
The official account can be associated with 10 Mini Programs of the same subject and 3 Mini Programs of different subjects. The same Mini Program can be associated with up to 50 Official Accounts.

1. Official account jumping applet

For example, the mini program associated with the official account of "Fengchao Express Cabinet": Fengchao Express.

2. Mini program jump to public account

Open "Fengchao Express", click the menu option in the upper right corner, and then click "About Fengchao Express", you can see the associated official account.

 

2. Mini Programs and H5

The answer is: you can jump to each other .

1. Mini program jump to H5

There have always been restrictions before, and it was finally announced on the evening of November 2 that the good news that the applet can jump to H5 (provided that the applet management background configures a whitelist of domain names), can't help it hahahahahaha.

The applet also updated the corresponding documentation:

The web-view component is a container that can be used to host web pages, which will automatically cover the entire applet page. However, personal and overseas mini-programs are not currently supported.

Note: The base library 1.6.4 starts to support, and the lower version needs to be compatible .

2. H5 jump applet

Correspondingly, H5 can also jump back to the applet:

Just import the js file whose path is https://res.wx.qq.com/open/js/jweixin-1.3.0.js, and then execute the following code.

wx.miniProgram.navigateTo({url: '/path/to/page'})

3. Official Account and H5

The answer is: you can jump to each other .

1. Official account jumps to H5

This seems to be supported all the time. The custom menu of the official account and the custom message can all be jumped by the H5 link. This is not much to discuss. Let's talk about how to jump to the official account in H5.

2. H5 jump to the official account

This is impossible in itself, but there is also an indirect method, that is, jumping to the historical news page of the official account, and then entering the WeChat official account, which is probably the best practice at present.

Take the official account of "Fengchao Express Cabinet" as an example, open the official account, click "View Historical News", and enter the historical news page.

You can copy the address of this page and put it in the H5 page.

 

4. Mini Programs and Mini Programs

The answer is: you can jump to each other .

Open the WeChat applet development document, there is a new API that can be implemented.

But pay attention to 2 points:

1. The lower version needs to be compatible.

2. The mini-programs that jump to each other must be associated under the same official account.

 

At this point, it is over whether the WeChat applet, WeChat official account and H5 can jump to each other. If there is anything wrong, please point out, thank you~~

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326078154&siteId=291194637