">mixi Developer Center (mDC)

mixi Apps

mixi Apps (English) » Technical Specification » PC » Procedures for Guiding a User to External Sites

Procedures for Guiding a User to External Sites

Whenever a developer promotes its user to external sites out of mixi App, sufficient explanation or description must be given to the users, as stated in the mixi Application Guideline. Please be reminded that the procedure will differ depending on the type of external site users will be navigated to.

  • External billing site
  • External sites other than billing sites

The procedure described below has to be followed to guide a user from a mixi App to an external site.

  1. Call the mixi.util.requestExternalNavigateTo() to make a request to guide the user to the external site.
  2. The user clicks the link on the display.
  3. The external site appears in a new window.

Please make sure to provide sufficient explanation or description to users when promoting them to external sites.

External billing site

requestExternalNavigateTo(url, mixi.util.ExternalSiteType.PAYMENT)

When navigating users to external billing sites from mixi apps, please specify the URL you wish to transit to as the argument of the function requestExternalNavigateTo(), and specify the constant value for the external billing site as the second argument.

var url = "..."; // external billing site URL
mixi.util.requestExternalNavigateTo(url, mixi.util.ExternalSiteType.PAYMENT);

After this function is called, a pop-up page will appear and notify the users that they are about to proceed to an external billing site.
Specify a string starting with “http:” or “https:” for the URL other than “*.mixi.jp” and “*.mixi.co.jp.” to be specified as an argument.

External sites other than billing sites

The requestExternalNavigateTo() requests the mixi App to link to the URL given by an argument. After this function is called, a pop-up page, notifying the user the URL indicating the link to the external site appears. The User move to the external site in a new window by clicking the external site’s URL displayed on the page.

A sample code for the requestExternalNavigateTo() is shown below.

var url = "..."; // URL of the external site
mixi.util.requestExternalNavigateTo(url);

Specify a string starting with “http:” or “https:” for the URL other than “*.mixi.jp” and “*.mixi.co.jp.” to be specified as an argument.

TOP OF THIS PAGE