">mixi Developer Center (mDC)

mixi Apps

mixi Apps (English) » Technical Specification (new method) » PC » Information Sharing

Information Sharing

In a general application, writing input information and content to a file and/or database to store the data regardless of the application’s usage.

In most cases, the developer considers storing the input information or content obtained from external services in the mixi App. If a mixi App prompts its users to enter information every time they use it, the application cannot be successful. Furthermore, there may be a case that a certain user’s information can be referred from other users especially for a content/information sharing application.

appdata1

As the functional data store, the mixi app provides Persistence API which is available for the mixi Graph API. This API enables a developer to store the data and share the data without building own database.

* The information of the optional user who use the same mixi app stored on the Persistence API can be always obtained. Please note that the store is not suitable for placing the important information which is required to protect with password. 

Functions Provided by Persistence API

In the mixi App, the input data can be stored and shared through the Persistence API. It is necessary to describe the process based on “who owns the information”. That is, specifying “whose information is obtained” is required in obtaining and/or sharing the data.

The following functions are available:

  • Name certain data and store the data
  • Retrieve persistent data
  • Clear persistent data

The data can be controlled for individual application + user. The data for a different mixi App is not accessible. Moreover, only a Viewer is able to store the data in his/her field as an owner of such data, not another user’s.

On the contrary, obtaining not only the data of the Viewer, but also the one of other users is permitted. That is, it is possible to obtain the data of the Viewer’s friends.

In the mixi App specification, Key-Value pair string is supported.

Please refer to the Persistence API of the Graph API for the details.

TOP OF THIS PAGE