ソーシャル メタデータでリンク プレビューを生成する
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
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のクリック インストール率が向上します。
アプリのプレビュー ページでは、Dynamic Links を iOS 上で一意の一致として受け取ることもできます。ユーザーが [Save my place in the app] を選択して [開く] をクリックすると、Dynamic Link が iOS のクリップボードにコピーされます。アプリが開くと、Dynamic Links SDK は、そのリンクをクリックしたユーザーが現在のユーザーであることを 100% 信頼するリンクを受け取ります。
Dynamic Link にソーシャル メタデータを指定しないと、アプリのプレビュー ページには、App Store のアプリ情報に基づいてアプリの名前、アイコン、説明が表示されます。次に例を示します。

Dynamic Link にソーシャル メタデータを指定すると、アプリの名前とアイコンに加え、指定したタイトル、説明、画像がアプリのプレビュー ページに表示されます。次に例を示します。

ダイナミック リンク パラメータ efr=1
を指定すると、アプリのプレビュー ページをバイパスできます。アプリのプレビュー ページがないと、Dynamic Linksを iOS で一意の一致として受け取ることはできません。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-09-06 UTC。
[null,null,["最終更新日 2025-09-06 UTC。"],[],[],null,["\u003cbr /\u003e\n\n| **Note:** Firebase Dynamic Links is *deprecated* and should not be used in new projects. The service will be shutting down soon. Follow the [migration guide](/support/dynamic-links-faq#how_should_i_migrate_from_the_service) and 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."]]