# 10.调用其它canister

ICP一个重要的特性是能够在不同Canister间构建，部署并调用共享函数。调用不同Canister的能力-有时被称为canister间调用-允许你在多个应用中复用并共享功能。

例如，你想要创建一个应用来实现专有网络，组织社区活动或举办筹资活动。每个应用可能都需要社交组建，能够让用户基于一些标准或共同的兴趣识别社交关系，比如作为朋友和家人或当前和之前的同事。

为了实现这个社交组件，你可能想要创建一个单独的canister来存储用户关系，然后编写你的专用网络，社区组织，或筹资应用来导入并调用定义在这个canister的社交相关的函数。你之后可以构建其他应用来使用这个社交canister或拓展社交canister的功能来使这个组件对其它开发者更加实用。

基于Motoko的LinkedUp示例程序提供一个简单的专用网络实现，可以演示如何在项目中调用其它canister。

LinkedUp示例程序使用以下Canister实现：

* linkedup canister创建并存储基本的用户信息，包含工作经历和教育背景
* connectd canister创建并存储用户的关系网
* linkedup\_assets canister存储前端资源-包含JavaScript，HTML和CSS文件-定义了用户页面


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://mixdao.gitbook.io/dfinity/si-.-jiao-cheng/10.-shi-yong-si-you-canister-tiao-yong.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
