使用社交元数据生成链接预览
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
在创建 Dynamic Links时,您可以通过指定社交元数据来改善应用和网站显示您的 Dynamic Links 的方式。这些元数据以社交元标记的形式传递到支持的服务,供这些服务实现丰富的链接呈现效果。
例如,社交应用可以使用元数据将分享的 Dynamic Links 呈现为带有标题、链接内容的说明及预览图片的卡片。
此外,当您在 iOS 上打开 Dynamic Link 时,所显示的应用预览页面将使用元数据(如果提供)来显示链接内容的预览。
社交分享预览
社交应用可以根据社交元数据,为分享的 Dynamic Links 实现丰富的预览效果。例如:

以上示例是指定了下列元数据的 Dynamic Link 的预览:
社交元数据会被传递至 Twitter、Facebook、Facebook Messenger、iMessage、WhatsApp、Google+ 等服务。
应用预览页面
当用户在 iOS 上打开 Dynamic Link 时,他们会看到一个应用预览页面,其中说明将使用哪个应用打开该链接。应用预览页面尽可能减少了不必要的系统对话框并使用户能够导航到应用内浏览器之外,可以更加可靠地将用户引导至最合适的目标位置(例如您的应用)。因此,应用预览页面可以提高 Dynamic Links 的点击安装转化率。
应用预览页面还能实现在 iOS 设备上将 Dynamic Links 作为唯一的匹配项进行接收。当用户选择 Save my place in the app(保存我在应用中的位置),并点击 Open(打开)后,Dynamic Link 会复制到 iOS 剪贴板;然后,当您的应用打开后,Dynamic Links SDK 会接收链接,并且可百分百确保应用当前的用户就是点击链接的用户。
如果您未在 Dynamic Link 中指定社交元数据,则应用预览页面会根据您的应用在 App Store 中的信息来显示应用的名称、图标和说明。例如:

如果您在 Dynamic Link 中提供社交元数据,则应用预览页面会显示您指定的标题、说明和图片,以及应用的名称和图标。例如:

您可以通过指定动态链接参数 efr=1
来绕过应用预览页面。请注意,如果没有应用预览页面,则 Dynamic Links 不能在 iOS 设备上作为唯一匹配项被接收。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-12。
[null,null,["最后更新时间 (UTC):2025-08-12。"],[],[],null,["\u003cbr /\u003e\n\n| **Deprecated:** Firebase Dynamic Links is *deprecated* and should not be adopted in projects that don't already use it. The service will shut down on August 25, 2025. See the [Dynamic Links Deprecation FAQ](/support/dynamic-links-faq) for more information.\n\nYou can improve the way apps and sites display your Dynamic Links by specifying\nsocial metadata when you [create your Dynamic Links](/docs/dynamic-links/create-links).\nThis metadata is passed on to supported services in the form of social meta\ntags, which the services use to generate a rich presentation of the link.\n\nFor example, social apps can use the metadata to present shared Dynamic Links as\ncards with a title, a description of the linked content, and a preview image.\n\nAlso, the app preview page that is displayed when you open a Dynamic Link on iOS will\nuse the metadata, if provided, to display a preview of the link's content.\n\nSocial sharing previews\n\nSocial apps can use the data specified by social metadata to generate rich\npreviews of shared Dynamic Links. For example:\n\nThe above example is a preview of a Dynamic Link with the following metadata\nspecified:\n\n- Title (`st`): Reticulated Giraffes\n\n- Description (`sd`): The reticulated giraffe, also known as the Somali giraffe,\n is a subspecies of giraffe native to the Horn of Africa.\n\n- Image (`si`): (URL to image)\n\n The image should be at least 300x200 px, and less than 300 KB.\n\nSocial metadata is passed to Twitter, Facebook, Facebook Messenger, iMessage,\nWhatsApp, Google+, and other services.\n\nApp preview pages\n\nWhen a user opens a Dynamic Link on iOS, they will see an app preview page\nthat shows them which app will be used to open the link. The app preview page\nmore reliably sends users to the most appropriate destination (such as your app)\nby minimizing unnecessary system dialogs and enabling users to navigate out of\nin-app browsers. As a result, the app preview page increases the\nclick-to-install rate of your Dynamic Links.\n\nThe app preview page also enables Dynamic Links to be received as unique matches on\niOS. When a user selects **Save my place in the app** and then clicks **Open** ,\nthe Dynamic Link is copied to the iOS clipboard; then, when your app opens, the\nDynamic Links SDK an receive the link with 100% confidence that the app's current\nuser is the user who clicked the link.\n\nIf you don't specify social metadata in your Dynamic Link, the app preview page\ndisplays your app's name, icon, and description, based on your app's information\nin the App Store. For example:\n\nWhen you provide social metadata in your Dynamic Link, the app preview page displays\nthe title, description, and image you specified instead, as well as your app's\nname and icon. For example:\n\nYou can bypass the app preview page by specifying the dynamic link parameter\n`efr=1`. Note that without the app preview page, Dynamic Links cannot be received as\nunique matches on iOS."]]